Uncomment solrconfig.xml at the following location.

   <!-- 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.
    <useFilterForSortedQuery>true</useFilterForSortedQuery>
   -->

Josh B.

-----Original Message-----
From: soumya rao [mailto:soumrao...@gmail.com] 
Sent: Wednesday, April 13, 2011 1:59 PM
To: solr-user@lucene.apache.org
Subject: Regarding filterquery

Hi,

I am a newbie to solr. I could see that the queries are not cached. Would
like to apply filterCache to queries in ruby. Can anyone provide me the
syntax for this please?

Thanks.
The recipient of this email should check this email and any attachments for the 
presence of viruses. 
The Wasserstrom Companies accepts no liability for any damage caused by any 
virus transmitted by this email.

This footnote also confirms that this email message has been scanned for the 
presence of computer viruses.

The Wasserstrom Companies

Reply via email to