You search for "hotel", but in the index, you have "Hotels".

Note, you did not configure a mapping. Setting is there, but mapping is
missing.

Also, with a query_string search "hotel", you search in the _all field, so
you should align your query with the field you use for indexing (the 'text'
field).

Jörg

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEBidh3acA7Aer4B6tfGxtVXjh_b2aXSQg8FfyfpfY9aQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to