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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -