Shalin your patch worked perfect for my use case. 
Thank's both for the information!



Amit Nithian wrote:
> 
> I'm actually working on one for my company which parses our tomcat log
> files
> to obtain queries to feed as warming queries (since GET queries are the
> dominant source of queries) to the firstSearcher. I am not sure what the
> interface is in Solr 1.3, but in 1.2, I implemented the SolrEventListener
> interface and overrode the newSearcher method. If you look at the source
> for
> the default warmer, you should be able to construct a list of queries from
> a
> different source without much trouble.
> I might be able to send you some code if you need it.
> 
> - Amit
> 
> On Tue, Feb 24, 2009 at 10:15 AM, Marc Sturlese
> <marc.sturl...@gmail.com>wrote:
> 
>>
>> Hey there,
>> Is there any dynamic way to specify the queries to do the warming? I
>> mean,
>> not writing them hardcoded in solrconfig.xml but getting them from a
>> database or from another file??
>> Thanks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/warming-question-tp22187322p22187322.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/warming-question-tp22187322p22210458.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to