elasticsearch - Can fielddata_fields be used in mget request? -
i trying fielddata not_analyzed
field in multi get query. working fine in _search
queries.
this i've tried no luck:
curl -xget "http://es:9200/articles/article/_mget/?pretty&fielddata_fields=url" -d '{"ids" : ["5763197951"]}' curl -xget "http://es:9200/articles/article/_mget/?pretty" -d '{"fielddata_fields": ["url"], "ids" : ["5763197951"]}' curl -xget "http://es:9200/articles/article/_mget/?pretty" -d '{"docs" : [{"_id" : "5763197951", "fielddata_fields": ["url"]}]}'
it looks fielddata_fields
ignored, since result:
{ "docs" : [ { "_index" : "articles", "_type" : "article", "_id" : "5763197951", "_version" : 1, "found" : true } ] }
i'm running es version 1.4.4
jvm: 1.8.0_31
edit: tried above test database running es 2.2.2
same results...
Comments
Post a Comment