FAQ

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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org

Search Discussions

  • Michael McCandless at Nov 18, 2008 at 8:32 pm
    OK will do :) Nice that you're paying attention!

    Mike

    Andrzej Bialecki wrote:
    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: java-dev-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-dev-help@lucene.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-dev-help@lucene.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-dev @
categorieslucene
postedNov 16, '08 at 7:18p
activeNov 18, '08 at 8:32p
posts2
users2
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase