lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Re[3]: how to enhance speed of sorted search
Date Sat, 30 Sep 2006 01:20:08 GMT
On 9/26/06, Chris Hostetter <> wrote:
> you might be able to shave a little bit of speed off by accessing the bits
> from the Filter directly and iterating over them yourself to check the
> FieldCache ad build up your sorted list of the first "N"

This is one optimization that Solr does.  From solrconfig.xml:

  <!-- An optimization that attempts to use a filter to satisfy a search.
         If the requested sort does not include score, then the filterCache
         will be checked for a filter matching the query. If found, the filter
         will be used as the source of document ids, and then the sort will be
         applied to that.  -->

-Yonik Solr, the open-source Lucene search server

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message