Eric,

it's worth to mention that queries which sorts by field can potentially
blows filter cache
http://wiki.apache.org/solr/SolrCaching#useFilterForSortedQuery here is the
hint might work out.


On Wed, Nov 20, 2013 at 4:30 PM, Erick Erickson <erickerick...@gmail.com>wrote:

> But I don't know whether it's worth worrying about. queryResultCache is
> pretty small.
>
> I think of it as a map where the key is the text of the query and the value
> is an
> int[queryWindowSize]. So bypassing the cache is probably not going to make
> much
> difference.
>
> YMMV of course.
>
> Best
> Erick
>
>
> On Wed, Nov 20, 2013 at 12:44 AM, Mikhail Khludnev <
> mkhlud...@griddynamics.com> wrote:
>
> > It should bypass cache for sure
> >
> >
> https://github.com/apache/lucene-solr/blob/34a92d090ac4ff5c8382e1439827d678265ede0d/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java#L1263
> > 20.11.2013 7:05 пользователь "Otis Gospodnetic" <
> > otis.gospodne...@gmail.com>
> > написал:
> >
> > > Hi,
> > >
> > > We have the ability to turn off caching for filter queries -
> > > http://wiki.apache.org/solr/CommonQueryParameters#Caching_of_filters
> > >
> > > I didn't try it, but I think one can't turn off caching for regular
> > > queries, a la:
> > >
> > > q={!cache=false}<query here>
> > >
> > > Is there a reason this could not be done?
> > >
> > > Thanks,
> > > Otis
> > > --
> > > Performance Monitoring * Log Analytics * Search Analytics
> > > Solr & Elasticsearch Support * http://sematext.com/
> > >
> >
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
 <mkhlud...@griddynamics.com>

Reply via email to