lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Jain" <Eric.J...@isb-sib.ch>
Subject Incremental indexing
Date Wed, 04 Dec 2002 12:04:50 GMT
Currently, I use the following procedure to update an index incrementally:

    1. Build document
    2. Open index reader
    3. Delete any previous version of the document using a key field
    4. Close index reader
    5. Open index writer
    6. Add document to index
    7. Close index writer

    Repeat


Any ideas how this could be accomplished more efficiently AND easier?


--
Eric Jain


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message