On Jun 27, 2006, at 2:02 PM, Daniel Naber wrote:
On Dienstag 27 Juni 2006 17:23, Beady Geraghty wrote:
I tried to look at the segments file, thinking that it points to the
various other
files in the index directory,
Use IndexWriter.addIndexes() to merge two or more indexes.
Or use the IndexMergeTool as a command-line tool:
http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/
miscellaneous/src/java/org/apache/lucene/misc/IndexMergeTool.java
It's in the lucene-misc-*.jar file, so you should be able to do this
(off the top of my head):
java -cp lucene-misc.jar:lucene-core.jar IndexMergeTool
<mergedIndex> <index1> <index2> ....
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]