lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Hu" <>
Subject how to implement searching "in time" efficiently
Date Fri, 24 Aug 2007 05:19:45 GMT

         I want user could search record after he/she insert a record
immediately use lucene,

When user insert a record ,I add the document into the index files. When
search  I new an IndexSearcher instance everytime to search the new
records,but it is unefficient, because indexSearcher will cost much time
in read or sort documents. If I only use a single IndexSearcher , it
cannot search the newly committed changes . Is there any better way?
Help me ,thanks.... 




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message