Michael McCandless (JIRA) wrote:
[ https://issues.apache.org/jira/browse/LUCENE-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647960#action_12647960 ]
Michael McCandless commented on LUCENE-1454:
--------------------------------------------

You're right, Luke is saying that!

But, that's a misleading error -- here are the sources in Luke for that error:

{code}
fn = ir.getFieldNames(IndexReader.FieldOption.ALL);
if (fn.size() == 0) {
    errorMsg("Invalid or corrupted index.");
    return;
}
{code}

So, what Luke really means is there are 0 fields found in the index, ie it's an 
empty index.

You're lucky that I spotted this message ... ;)

I'll fix it in the next minor release of Luke, pretty soon.

However, in the future please notify me about any suspected bugs in Luke, otherwise I may miss reports like this.

--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to