Re: autowarm static queries

2009-04-02 Thread sunnyfr
Ok so It doesn't seems to work after a replication, my first request on my slave is always very long and next one very quick ??? do I have to set something else ? solr 0 100 anything id desc fast_warm 0 100

Re: autowarm static queries

2009-04-02 Thread Shalin Shekhar Mangar
On Thu, Apr 2, 2009 at 2:13 PM, sunnyfr wrote: > > Hi Hoss, > > Do I need autowarming > 0 to have newSearcher and firstSearcher fired? > > Thanks a lot, > Did you mean autowarmCount > 0? No, firstSearcher and newSearcher are always executed if specified. The autowarmCount can be anything, it doe

Re: autowarm static queries

2009-04-02 Thread sunnyfr
Hi Hoss, Do I need autowarming > 0 to have newSearcher and firstSearcher fired? Thanks a lot, hossman wrote: > > > : Subject: autowarm static queries > > A minor followup about terminology: > > "auto-warming" describes what Solr does when it opens a new c

Re: autowarm static queries

2007-10-15 Thread Chris Hostetter
: Subject: autowarm static queries A minor followup about terminology: "auto-warming" describes what Solr does when it opens a new cache, and seeds it with key/val pairs based on the "top" keys from the old instance of the cache. "static warming" describes wha

Re: autowarm static queries

2007-10-11 Thread Mike Klaas
On 11-Oct-07, at 7:38 PM, BrendanD wrote: Unfortunately pretty much ALL of our fields are multi-valued. A product can exist in multiple categories, be sold by multiple merchants, and have multiple attributes with multiple attribute values assigned to it. E.g. an iPod in a special Gifts cat

Re: autowarm static queries

2007-10-11 Thread Brian Wipf
On 11-Oct-07, at 8:38 PM, BrendanD wrote: Mike Klaas wrote: Any reason why you are faceting on a field that you are restricting? Clearly, the answer will be '1001644' --> , (all other categories) -> 0. Just use numFound. Also, if there can only be one category per doc, make sure you are using

Re: autowarm static queries

2007-10-11 Thread BrendanD
Mike Klaas wrote: > > On 11-Oct-07, at 6:47 PM, BrendanD wrote: > >> >> Hi, >> >> I have the following query that I've found in my production logs: >> >> INFO: /select/ >> rows=0&start=0&f.category_id.facet.limit=-1&facet=true&facet.field=cat >> egory_id&fq=product_is_active:true&fq=product_st

Re: autowarm static queries

2007-10-11 Thread Mike Klaas
On 11-Oct-07, at 6:47 PM, BrendanD wrote: Hi, I have the following query that I've found in my production logs: INFO: /select/ rows=0&start=0&f.category_id.facet.limit=-1&facet=true&facet.field=cat egory_id&fq=product_is_active:true&fq=product_status_code:complete&fq= category_id:"1001644"&

autowarm static queries

2007-10-11 Thread BrendanD
based on results returned from our database. I can easily generate a static list of queries for each unique category_id and put them into the solrconfig.xml time in the newSearcher listener area. I'm just not sure if it will help at all if Solr uses the entire set of fields as a key into the