Hi,
Is it possible to search by ids and term both? I tried to do something like:
curl -XGET 'http://localhost:9200/hotels/hotel/_search' -d ' { "query" : { "ids" : { "values" : [ "c900640a-12e5-4f02-8fec-07f6f4bf58ab", "56d46e68-07e8-4502-be08-df68730bae67" ] }, "term" : { "type" : "couple" } } } '
but result was:
# ERROR: Search::Elasticsearch::Error::Request [http://localhost:9200]-[400] [parse_exception] failed to parse search source. expected field name but got [START_OBJECT]
Query by ids or term only works fine