lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-509) Event Listeners called before request handlers are informed of SolrCore
Date Wed, 16 Apr 2008 19:15:22 GMT

    [ https://issues.apache.org/jira/browse/SOLR-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589699#action_12589699
] 

Yonik Seeley commented on SOLR-509:
-----------------------------------

firstSearcher should be called whenever a new searcher is being opened and there is no current
searcher to base warming on.  Right now, that will only happen at startup, but in the future?

> Event Listeners called before request handlers are informed of SolrCore
> -----------------------------------------------------------------------
>
>                 Key: SOLR-509
>                 URL: https://issues.apache.org/jira/browse/SOLR-509
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: Hoss Man
>            Assignee: Grant Ingersoll
>             Fix For: 1.3
>
>         Attachments: SOLR-509.patch
>
>
> http://www.nabble.com/Nullpointer-when-using-QuerySenderListener-to16201207.html
> Thijs noticed NullPointerException from SearchHandler on startup when trying to configure
some firstSearcher events using QuerySenderListener.
> The problem is the events are getting triggered as soon as the firstSearcher is opened,
but the SOlrCore isn't finished being initialized, so inform(SolrCore) hasn't been called
on all the Handlers (and some handlers aren't fully initialized and ready to process requests
yet.
> We need to more the firstSearcher event handling after inform has been called on all
SolrCoreAware objects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message