On 6/17/2011 4:26 PM, arian487 wrote:
I'm wondering if something like this is possible.  Lets say I want to query
5000 objects all pertaining to a specific search and I want to return the
top 100 or something and cache the rest on my solr server.  The next time I
get the same query or something with a new offset (lets say start from 101)
does it have to do the query again or can it go to cache and get the next
100?

In solrconfig.xml, you should have a <query> section. In that section, you can place a setting like the following:

<queryResultWindowSize>200</queryResultWindowSize>

This is described in the example solrconfig.xml and here:

http://wiki.apache.org/solr/SolrCaching#queryResultWindowSize

Shawn

Reply via email to