Query Optimization
“We have Elastic v 7.8.0 We have monthly indices for each client, i.e: client_data_{cliendId}_2020-09. 1 primary shard, 1 replica for each index. One of the queries are taking too much time, and I'm trying understand why and how to optimize it. here is the query: GET client_data_XXX_2020-09/_searc...”
elastic-discuss · OmarDacca · 10/7/2020
Open original →ILM query optimization
“Hi, We're using ILM to enable a hot/warm/cold architecture. We ingest quite a lot of data, and try to keep them for 90 days. Ingest is running smoothly, but I'm trying to speed up the querying. When I run a time based query on the filebeat-* index, I hit all the nodes, which is quite slow. Is the...”
elastic-discuss · coudenysj · 10/28/2019
Open original →Sum bucket aggregation (high cardinality fields) - optimize query
“Hi! I need to get a specific metric per index. In the query, I have an IP field cardinality and a filtered cardinality of the same IP addresses grouped by a field. I need to subtract the filtered value from the total number and lastly sum all that value to get the final value I'm looking for. I u...”
elastic-discuss · YvorL · 5/14/2019
Open original →General question on query optimization
“I have five general optimization strategy questions... I have a case where I need to search across multiple fields (about 16 to 32). The fields look as follows: Numeric arrays. All corresponding search terms must match. Should I store values as keywords or integers? Numeric ranges with preceding ...”
elastic-discuss · IanRC72 · 3/14/2019
Open original →Search Query Optimization
“I'm using EC with 2 nodes with 64GB ram each, number of request ~1000 per minute and CPU/Memory is in green zone. My index is about 40 millions of items and search request is taking 5-7s to finish. I use function score query to rank my search result as example below: "from": 0, "size": 50, "query...”
elastic-discuss · merlinv · 8/1/2018
Open original →