lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Bezunartea López <>
Subject search a nutch generated index with lucene: no segments* file found in
Date Sun, 14 Feb 2010 17:22:56 GMT

I've generated an index with nutch-1.0 of a web site I need to add search
functionality to. I can open the index with Luke just fine, and it informs
me that the index format is lucene 2.4 (-7).

I created a small java app to test simple searches from the command line,
using lucene-2.9.1:
    Directory dir = File("/path/to/index/directory"));
    IndexSearcher searcher = new IndexSearcher(dir);

I get the following exception:
Exception in thread "main" no segments* file
found in

Any ideas? I can open the index fine with Luke 2.9 and 3.0. TIA,


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