IndexMergeTool produces empty index

2009-02-18 Thread Stuart Sierra
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

Re: IndexMergeTool produces empty index

2009-02-18 Thread Erik Hatcher
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

Re: IndexMergeTool produces empty index

2009-02-18 Thread Stuart Sierra
I'm using lucene-core-2.4-dev.jar from the Solr 1.3.0 distribution. Solr doesn't include lucene-misc, so I used lucene-misc-2.4.jar from the Lucene 2.4.0 distribution. But I had the exact same problem when I wrote my own index merge tool using just the Solr distribution jars. -Stuart Sierra On