Hi Ahson,

The wiki page you got your cmdline invocation from 
<http://wiki.apache.org/solr/MergingSolrIndexes> was missing a space character 
between the classpath and "org/apache/lucene/misc/IndexMergeTool".  I've just 
updated that page.

Steve

> -----Original Message-----
> From: Ahson Iqbal [mailto:mianah...@yahoo.com]
> Sent: Friday, September 30, 2011 2:45 AM
> To: Solr Send Mail
> Subject: Lucene 3.4.0 Merging
> 
> Hi
> 
> I have 3 solr3.4.0 indexes i want to merge them, after searching on web i
> found that there are two ways to do it as
> 
> 1. Using Lucene Merge tool.
> 2. Merging through core admin
> 
> i am using the 1st method for this i have downloaded lucene 3.4.0 and
> unpack it and then run following command on command prompt
> 
> 
> java -cp d:/lucene/lucene-core-3.4.0.jar:./contrib/misc/lucene-misc-
> 3.4.0.jarorg/apache/lucene/misc/IndexMergeTool ./newindex
> ./app1/solr/data/index ./app2/solr/data/indexbut unfortunately it gives
> me following exception
> 
> Exception in thread "Main Thread" java.lang.NoClassDefFoundError:
> 
> org/apache/lucene/misc/IndexMergeTool
> 
> 
> can any body guide me about this
> 
> Regards
> Ahsan

Reply via email to