is there any way to indicate that field name path used in the query
represents absolute path ?
looks like elasticsearch is recognizing that field path starts with type
name and removes it before executing query
I think i understand what happens.
There is no type support in lucene and ES would be storing all fields as
TYPE.field.full.path format
Which means , there would be country.name and country.country.name field in
the index.
If you try with the following query -
{
"facets": {
"term": {
"terms": {
"field": "country.country.name",
"size": 10
}
}
}
}
You will get the expected result.
I have filed a ISSUE -
Thanks
Vineeth
On Fri, Aug 22, 2014 at 4:37 PM, Karol Gwaj karol@gwaj.me wrote:
hi,
is there any way to indicate that field name path used in the query
represents absolute path ?
looks like elasticsearch is recognizing that field path starts with type
name and removes it before executing query
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.