You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Michael Levy <Lu...@gmail.com> on 2007/04/11 19:07:44 UTC

No segments file after optimizing using Luke

After using Luke v0.7 to Optimize Index, with either "Using Standard 
Format" or "Using Compound Format", and restarting Solr using jetty, I 
get a java.io.FileNotFoundException indicating that it can't find the 
segments file.

There's no segments file in the index directory, but Luke optimization 
created files named segments_n (n being 3 for standard format and 6 for 
compound format) and segments.gen.

How can I resolve this?  Thanks in advance!







Re: No segments file after optimizing using Luke

Posted by Yonik Seeley <yo...@apache.org>.
On 4/11/07, Michael Levy <Lu...@gmail.com> wrote:
> After using Luke v0.7 to Optimize Index, with either "Using Standard
> Format" or "Using Compound Format", and restarting Solr using jetty, I
> get a java.io.FileNotFoundException indicating that it can't find the
> segments file.
>
> There's no segments file in the index directory, but Luke optimization
> created files named segments_n (n being 3 for standard format and 6 for
> compound format) and segments.gen.
>
> How can I resolve this?  Thanks in advance!

If you are going to use another program to modify a Solr-Lucene index,
make sure that program is using the same version of Lucene that Solr
is :-)

The very latest version of Luke uses Lucene 2.1, which is later than
Solr1.1 uses.
Try using a nightly build of Solr.

-Yonik