S
S
stanlee2015-12-04 16:45:54
elasticsearch
stanlee, 2015-12-04 16:45:54

How to search in ElasticSearch for two or more fields?

There are two fields, one numeric (city number), the other text (street name).
I want to make a hint system, but I can't make a normal issue.
such sensation that is looked for on one field and separately on another. As a result, it throws out an irrelevant mess of data.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
un1t, 2015-12-04
@un1t

You can use the _all field, or other options are described here
https://www.elastic.co/guide/en/elasticsearch/guid...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question