You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2011/01/26 14:58:08 UTC
[jira] Closed: (LUCENE-445) Contrib.: Thread-safe
DelayCloseIndexSearcher.
[ https://issues.apache.org/jira/browse/LUCENE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera closed LUCENE-445.
-----------------------------
Resolution: Not A Problem
Long inactivity. Plus, Lucene in Action 2nd Edition includes an example of SearcherManager which achieves exactly what's proposed here, in a safer way. If we want to commit something like that to Lucene, we should commit SearcherManager or something similar.
> Contrib.: Thread-safe DelayCloseIndexSearcher.
> ----------------------------------------------
>
> Key: LUCENE-445
> URL: https://issues.apache.org/jira/browse/LUCENE-445
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Affects Versions: 1.4
> Environment: Implemented for Lucene 1.4.3, changes for 1.9 in comments.
> Reporter: Luc Vanlerberghe
> Priority: Minor
> Attachments: DelayCloseIndexSearcher.java, DelayCloseIndexSearcherTest.java
>
>
> Implements search over a single IndexReader, but remains open even if close() is called. This way it can be shared by
> multiple objects that need to search the index without being aware of the keep-the-index-open-until-it-changes logic.
> Usage is described in the javadoc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org