You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Eric Jain <Er...@isb-sib.ch> on 2003/07/24 12:51:18 UTC

Enumerating terms in reverse order

Is it possible to enumerate terms in reverse order? I see the TermEnum
class has only a next(), but no previous() method. Can this be worked
around, or would this be a sensible addition to the core of Lucene?

This would be extremely useful for sorting results from large
collections according to arbitrary fields.

--
Eric Jain


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org