You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/12/02 11:36:12 UTC
[jira] [Commented] (LUCENE-6087) SearcherManager should accept
foreign DirectoryReader on init
[ https://issues.apache.org/jira/browse/LUCENE-6087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231281#comment-14231281 ]
Adrien Grand commented on LUCENE-6087:
--------------------------------------
+1
> SearcherManager should accept foreign DirectoryReader on init
> -------------------------------------------------------------
>
> Key: LUCENE-6087
> URL: https://issues.apache.org/jira/browse/LUCENE-6087
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: Trunk, 5.x
>
> Attachments: LUCENE-6087.patch
>
>
> Today you init SearcherManager either with a dir or an IndexWriter,
> but since we have a useful FilterDirectoryReader class to wrap the
> sub-readers, it's useful for apps to also pass their own wrapped
> DirectoryReader and have SearcherManager reopen from that.
--
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