You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org> on 2015/01/26 05:26:34 UTC

[jira] [Updated] (SOLR-7035) Core reload calls firstSearcher listeners twice in some situations

     [ https://issues.apache.org/jira/browse/SOLR-7035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomás Fernández Löbbe updated SOLR-7035:
----------------------------------------
    Attachment: SOLR-7035-fail.patch

In this patch, there is a test that fails if the first searcher is made slow and its called twice.

> Core reload calls firstSearcher listeners twice in some situations
> ------------------------------------------------------------------
>
>                 Key: SOLR-7035
>                 URL: https://issues.apache.org/jira/browse/SOLR-7035
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0, Trunk
>            Reporter: Tomás Fernández Löbbe
>         Attachments: SOLR-7035-fail.patch
>
>
> {{core.reload()}} creates two searchers, one when creating the new core and one after creating the new IW. For each of those searchers it calls the registered listeners, however, depending on how long the first searcher takes to warm it may call the “firstSearcher” events twice.
> Probably the best solution would be to not even create the first of the searchers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org