lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jacky" <jackych...@gmail.com>
Subject parameter create in IndexWriter
Date Thu, 07 Sep 2006 06:04:14 GMT
hi,
   Today I found a funny thing, if "create" parameter in IndexWriter set false, 
and there is no index Segements in the Directory before, then an IOException will be 
thrown.
   I am confused that why not using this logic : if there is a Segments, then append it, create
it otherwise.
   I know we can do this in the application, but it is complex sometimes.

     Best Regards.
       jacky  
       
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message