lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32090] New: - org.apache.lucene.index.IndexReader and org.apache.lucene.index.IndexWriter cann't be used at the same time.
Date Sat, 06 Nov 2004 00:11:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32090>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32090

org.apache.lucene.index.IndexReader and org.apache.lucene.index.IndexWriter cann't be used
at the same time.

           Summary: org.apache.lucene.index.IndexReader and
                    org.apache.lucene.index.IndexWriter cann't be used at
                    the same time.
           Product: Lucene
           Version: 1.4
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Index
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: xcchen@gmail.com


It will create Lock error exception, which sounds some sense.

But as a lucene plug-in into application server environment, user likes to leave
the IndexWriter and IndexReader be persistent as being created at server startup
 stage, because it seems that first operation on instance of either reader or
writer is pretty expensive [around 1 second on my machine], but the following
ones  are super fast, aorund 5 millisecond or so.

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


Mime
View raw message