lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-604) do we need a flag to check open status for IndexWriter and IndexSearcher
Date Fri, 16 Jun 2006 19:07:30 GMT
    [ http://issues.apache.org/jira/browse/LUCENE-604?page=comments#action_12416572 ] 

Otis Gospodnetic commented on LUCENE-604:
-----------------------------------------

IW and IS will only get closed if you call close() on them, so you should be able to track
their status in your application, no?

> do we need a flag to check open status for IndexWriter and IndexSearcher
> ------------------------------------------------------------------------
>
>          Key: LUCENE-604
>          URL: http://issues.apache.org/jira/browse/LUCENE-604
>      Project: Lucene - Java
>         Type: Wish

>     Versions: 2.0.0
>     Reporter: Dedian Guo

>
> since it is recommended to use IndexWriter and IndexSearcher once, I am not sure if we
need a function such as boolean IsOpen() to check the open status of Writer and Searcher.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message