Are you sure you're using the Lucene JARs (both core and misc) that came with Solr 1.3 and not, as you said, the ones from a Lucene 2.4 distribution?

        Erik

On Feb 18, 2009, at 10:17 AM, Stuart Sierra wrote:

Hello,
I'm having trouble merging indexes with with IndexMergeTool.

I use Solr 1.3 to build two separate indexes.  Then I shut down Solr.
The indexes generated by Solr look ok.  I can read them with a Lucene
IndexSearcher, and even open up the index files and see the text of my
documents.

Next I run IndexMergeTool from Lucene 2.4, following the instructions at
<http://wiki.apache.org/solr/MergingSolrIndexes>

After I run IndexMergeTool, the "merged" index is empty.  The
directory is created, it has a segments file like a normal Lucene
index, the index just doesn't have any documents in it.

Any suggestions?

-Stuart Sierra

Reply via email to