lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jacky" <>
Subject parameter create in IndexWriter
Date Thu, 07 Sep 2006 06:04:14 GMT
   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 
   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.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message