You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2022/07/27 13:45:00 UTC

[jira] [Commented] (LUCENE-10664) SearcherManager should return new IndexSearchers every time

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

Adrien Grand commented on LUCENE-10664:
---------------------------------------

Or maybe we should just deprecate/remove SearcherManager and suggest users that they use IndexReaderManager directly.

> SearcherManager should return new IndexSearchers every time
> -----------------------------------------------------------
>
>                 Key: LUCENE-10664
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10664
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Priority: Major
>
> SearcherManager caches IndexSearcher instances. This is no longer a good approach now that IndexSearcher has timeout support (LUCENE-10151) and keeps track of the time until which queries are allowed to run.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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