lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Jain" <Eric.J...@isb-sib.ch>
Subject Re: Mixing database and lucene searches
Date Tue, 11 May 2004 14:03:45 GMT
> To ask a silly question:  What approach does Lucene use for
> ranges and sorting?

A range such as '10-60' is expanded into a boolean query containing all
terms that are in the index and lie within the specified range, e.g. '10
or 11 or 20 or 59'.

For sorting, Lucene loads into memory all terms that occur in a field
according to which someone may want to sort. Can't give you any further
information, as that's where I stopped reading :-)


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


Mime
View raw message