lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SOLR-7035) Core reload calls firstSearcher listeners twice in some situations
Date Mon, 26 Jan 2015 04:26:34 GMT

     [ 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


Mime
View raw message