Re: QuerySenderListener

2016-10-06 Thread Erick Erickson
Rallavagu wrote: >>> >>> Solr Cloud 5.4.1 with embedded jetty, jdk8 >>> >>> At the time of startup it appears that "QuerySenderListener" is run twice >>> and this is causing "firstSearcher" and "newSearcher" to run twice as >>> well. >>> Any clues as to why QuerySenderListener is triggered twice? Thanks.

Re: QuerySenderListener

2016-10-05 Thread Rallavagu
44 AM, Rallavagu wrote: Solr Cloud 5.4.1 with embedded jetty, jdk8 At the time of startup it appears that "QuerySenderListener" is run twice and this is causing "firstSearcher" and "newSearcher" to run twice as well. Any clues as to why QuerySenderListener is triggered twice? Thanks.

Re: QuerySenderListener

2016-10-05 Thread Rallavagu
that "QuerySenderListener" is run twice and this is causing "firstSearcher" and "newSearcher" to run twice as well. Any clues as to why QuerySenderListener is triggered twice? Thanks.

Re: QuerySenderListener

2016-10-05 Thread Erick Erickson
How many cores? Is it possible you're seeing these from two different cores? Erick On Wed, Oct 5, 2016 at 11:44 AM, Rallavagu wrote: > Solr Cloud 5.4.1 with embedded jetty, jdk8 > > At the time of startup it appears that "QuerySenderListener" is run twice > and thi

QuerySenderListener

2016-10-05 Thread Rallavagu
Solr Cloud 5.4.1 with embedded jetty, jdk8 At the time of startup it appears that "QuerySenderListener" is run twice and this is causing "firstSearcher" and "newSearcher" to run twice as well. Any clues as to why QuerySenderListener is triggered twice? Thanks.

Re: firstSearcher cache warming with own QuerySenderListener

2015-09-29 Thread Chris Hostetter
.org" : Subject: firstSearcher cache warming with own QuerySenderListener : : Hey all, : : we want to avoid cold start performance issues when the caches are cleared after a server restart. : : For this, we have written a SearchComponent that saves least recently used queries. The

Re: firstSearcher cache warming with own QuerySenderListener

2015-09-28 Thread Christian Reuschling
Erick, Walter and all, as I wrote, I am aware of the firstSearcher event, we tried it manually before we choosed to enhance the QuerySenderListener. I think our usage scenario (I didn't wrote about it for simplicity) is a bit different from yours, what makes this necessary. We are impleme

Re: firstSearcher cache warming with own QuerySenderListener

2015-09-25 Thread Walter Underwood
after a server restart. >> >> For this, we have written a SearchComponent that saves least recently used >> queries. These are >> written to a file inside a closeHook of a SolrCoreAware at server shutdown. >> >> The plan is to perform these queries at

Re: firstSearcher cache warming with own QuerySenderListener

2015-09-25 Thread Erick Erickson
side a closeHook of a SolrCoreAware at server shutdown. > > The plan is to perform these queries at server startup to warm up the > caches. For this, we have > written a derivative of the QuerySenderListener and configured it as > firstSearcher listener in > solrconfig.xml. The only diff

firstSearcher cache warming with own QuerySenderListener

2015-09-25 Thread Christian Reuschling
perform these queries at server startup to warm up the caches. For this, we have written a derivative of the QuerySenderListener and configured it as firstSearcher listener in solrconfig.xml. The only difference to the origin QuerySenderListener is that it gets it's queries from the for

Re: Support loading queries from external files in QuerySenderListener

2010-08-05 Thread Lance Norskog
You can use an XInclude in solrconfig.xml. Your external query file has to be in the XML format. Lance On Wed, Aug 4, 2010 at 7:57 AM, Shalin Shekhar Mangar wrote: > On Wed, Aug 4, 2010 at 3:27 PM, Stanislaw > wrote: > >> Hi all! >> I cant load my custom queries from the external file, as writt

Re: Support loading queries from external files in QuerySenderListener

2010-08-04 Thread Shalin Shekhar Mangar
On Wed, Aug 4, 2010 at 3:27 PM, Stanislaw wrote: > Hi all! > I cant load my custom queries from the external file, as written here: > https://issues.apache.org/jira/browse/SOLR-784 > > This option is seems to be not implemented in current version 1.4.1 of > Solr. > It was deleted or it comes first

Support loading queries from external files in QuerySenderListener

2010-08-04 Thread Stanislaw
Hi all! I cant load my custom queries from the external file, as written here: https://issues.apache.org/jira/browse/SOLR-784 This option is seems to be not implemented in current version 1.4.1 of Solr. It was deleted or it comes first with new version? regards, Stanislaw

Re: Nullpointer when using QuerySenderListener

2008-03-22 Thread Chris Hostetter
: I'm developing against solr trunk and I wanted to start using the newSearcher : ans firstSearcher functionality. : However I'm getting a nullpointer exception when I startup my solr instance . ... : What I'm I doning wrong, because it looks like SearchHandler.inform(..) : is never calle

Nullpointer when using QuerySenderListener

2008-03-21 Thread Thijs
I'm developing against solr trunk and I wanted to start using the newSearcher ans firstSearcher functionality. However I'm getting a nullpointer exception when I startup my solr instance . Stacktrace: INFO: QuerySenderListener sending requests to [EMAIL PROTECTED] main Mar 21, 2008