Sort order on a wildcard query with constant score


(Divya Malini) #1

I noticed in a wildcard query on a particular field (type:string) with rewrite as 'constant_score', the expanded results returned were in random order. I expected the results returned will be alphabetically ascending as they all have a constant score of 1.

Are the results expected to be randomly sorted? In that case set of terms that the wildcard expanded to could be a random set that possibly may not be the same every time?


(system) #2

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