I want to undenstand the performance diference between:
GET /_search
{
"query": {
"terms": {
"_index": ["index_1", "index_2"]
}
}
}
and:
GET index_1,index_2/_search
I want to undenstand the performance diference between:
GET /_search
{
"query": {
"terms": {
"_index": ["index_1", "index_2"]
}
}
}
and:
GET index_1,index_2/_search
I have no idea but I'd definitely use the later.
My problem consist in the limit of the URL that is 4096 bytes, I have to much indexes and I want to limit the number of shards that query touch.
Did you consider using aliases?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.