Hi Alexander,
yes warmers is exactly what I'm looking into right now.
Seems like a good solution, but I still have a problem there.
As shown below, I have a facet_filter with changing dates, so I'm having a
hard time understanding what my warmer should look like if I want all the
range possibilities to work fast.
I tried running the next warmer for loading both time and productCode
fields, but I'm still not sure this is the best I can get here.
Any suggestions?
warmer:
{
"query" : {
"match_all" : {}
},
"facets": {
"tags": {
"terms": {
"fields": ["productCode", "time"]
},
"nested": "products"
}
}
}
query:
{
"query": {
"match_all": {}
},
"size": 0,
"facets": {
"tags": {
"terms": {
"field": "productCode",
"size": 230,
"regex": "GGG\\d+",
"order": "term"
},
"nested": "products",
"facet_filter": {
"range": {
"products.time": {
"from": "2014-01-07",
"to": "2014-01-10",
"include_lower": true,
"include_upper": true
}
}
}
}
}
}
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Facets-loading-time-tp4047460p4047533.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1389705117216-4047533.post%40n3.nabble.com.
For more options, visit https://groups.google.com/groups/opt_out.