When I use elasticsearch's search function, matchall always returns documents in a fixed order, without relevance ranking. So what is the sort order without using sort?
I see lucene's default document number when sorting. According to my understanding, the document number corresponds to _doc in elasticsearch. Why do I always return -1 every time I use hit to get the docid in elasticsearch?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.