: So, I tried a cursor-based approach, sorting on two fields, the non-unique : one which I want to have the result sorted on, plus the unique id field. : However, the sorting is done on the result of each query, not on the : complete data set.
You need to elaborate on what you mean by this and how it doesn't fit your needs ... each cursor request gives you part of the total sorted result set of matching documents (based on the size of the rows param) so if you do a query for *:* sorted on your special field, and then use a cursor to iteratore over all the results until the cursor is complete, you will get the complete sorted data set. So what exactly do you mean by "the sorting is done on the result of each query, not on the complete data set." ? -Hoss http://www.lucidworks.com/