Elasticsearch returns all documents when query does not match


(Mehmet Başal) #1

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.


(Xavier Facq) #2

Hi,

Can you past your query here plz ?

Xavier


(Mehmet Başal) #3

Hi Xavier,

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


(system) #4

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