Geo_shape filter in post_filter

Thanks for your response. Binh.

No difference. It still took 20 seconds.

There was no improvement on speed.

2014년 2월 13일 목요일 오전 1시 38분 51초 UTC+9, Binh Ly 님의 말:

I'm very curious, does this query make any difference in terms of speed
(might need to run this more than once)?

{
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"and": [
{
"bool": {
"must": [
{
"term": {
"properties.category1": "2"
}
},
{
"term": {
"properties.category2": "1"
}
},
{
"term": {
"properties.category3": "1"
}
},
{
"prefix": {
"title": "xxx"
}
}
]
}
},
{
"geo_shape": {
"geometry": {
"indexed_shape": {
"id": "21000",
"type": "region",
"index": "test",
"shape_field_name": "geometry"
}
}
}
}
]
}
}
}
}

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e3ae3dad-1c62-443e-800d-c45021e0f6ac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.