Search not getting results


(Anirudh Modi) #1

So, I am using the phrase prefix query, and whenever I am searching with letter 's' in my dev machine, i can get the correct number of results. however in my production environment with shards config, I am not getting any result.
I am also using 'size' to limit the number of results to be returned.
I am a little confused as in what is going wrong, because everything works fine in dev machine.
Apologies if it seems to simple question.


(Luca Cavanna) #2

It is hard to say what is going wrong. Do you have the same data on your dev machine and your prod environment? Can you post the exact query and what documents you expect to be returned?


(system) #3