When I run my app in development mode, it gives 3 results with a query
but when I run in production mode, it gives 1 result with the same
query.
What could be wrong?
And also how to sort results according to their relevance (greater
relevance on top)?