lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Ghidireac" <bog...@ecstend.com>
Subject index conversion
Date Mon, 24 Sep 2007 12:38:51 GMT
Hi,

I have an optimized compound index and I want to transform it to standard
format. I tried to optimize using the standard format but I had no luck.. Is
there another way ? I don't want to re-index because it will take several
days.

IndexWriter writer = new IndexWriter(args[0], new StandardAnalyzer(),
false);
writer.setUseCompoundFile(false);
writer.setMaxBufferedDocs(10000);
writer.optimize();
writer.close();

Regards,
Bogdan

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