lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beady Geraghty" <beadygerag...@gmail.com>
Subject Re: merge index from different platform
Date Tue, 27 Jun 2006 19:17:44 GMT
Thank you for the response.

I wasn't very clear in my original note. I just want to make sure that I
can merge indexes created  from differerent platforms/different OSes without
problem.  So I understand from the respond that this can be done.

Thanks





On 6/27/06, Erik Hatcher <erik@ehatchersolutions.com> wrote:
>
>
> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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