Guillermo Payet wrote:
The fact that Lucene stores and indexes (or seems it seems) all terms as Strings and that there is no NumericTerm makes me think that I might be missing something and that this migh be a much bigger deal
than I think?

You could write a HitCollector that uses FieldCache.getFloats("latitude") and FieldCache.getFloats("longitude") to efficiently lookup the latitude and longitude of each textual match. Then combine the distance score with the text score.


Doug



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to