Hello Jiri,
> 
> our system should return some requested number of last indexed 
> 
> documents for an empty query with the last indexed document
> 
> at the first position, but last at the second etc.
> 

You will want to sort by document order, and do so reversed as the
last indexed documents get the highest document number. So, sorting by
a search::SortField(NULL, DOC, true) should do the trick.

Best regards,

Isidor Zeuner

------------------------------------------------------------------------------
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to