Elasticsearch returns all documents when query does not match

Hi,

When i try to search something like this "dasfjhasşlfjsşadl" which does not make any sense, elasticsearch still returns the all documents like i use matchAllQuery.

I am using elasticsearch 2.4.1 with spring data.

Thanks in advance.

Hi,

Can you past your query here plz ?

Xavier

Hi Xavier,

Thanks for answering. I have just solved it. It was due to a condition in my query.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.