Answer the question
In order to leave comments, you need to log in
How to search across all indexes in ElasticSearch?
I have 2 indexes: students and groups
With data structure like this
{
id,
name,
surname,
midname,
phone,
parentPhone
} // ученик
{
id,
GROUP_NAME
} // группа
Answer the question
In order to leave comments, you need to log in
How did you try? And why a question of "average" complexity? Elastic seems to be looking for all the indices, separated by commas. GET /index1,index2/_search .....
Well, for several fields - simple_query string query - https://www.elastic.co/guide/en/elasticsearch/refe...
or query string query or all together in combination with bool query in different versions.
Here, however, the question of promapping should also be about tokenizers, but this is already a "complex" option, when the "simple" one does not help...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question