lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7035) Core reload calls firstSearcher listeners twice in some situations
Date Fri, 25 Aug 2017 22:47:01 GMT

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

Shawn Heisey commented on SOLR-7035:
------------------------------------

After investigation, I've learned that the cores that are having that problem do not have
firstSearcher or newSearcher listeners configured, so I'm now thinking it can't be related.

> 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, 6.0
>            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.4.14#64029)

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


Mime
View raw message