You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Andrzej Bialecki <ab...@getopt.org> on 2008/11/16 20:17:03 UTC

Luke bugs (Re: [jira] Commented: (LUCENE-1454) Corrupted index produced by lucene 2.4)

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


Re: Luke bugs (Re: [jira] Commented: (LUCENE-1454) Corrupted index produced by lucene 2.4)

Posted by Michael McCandless <lu...@mikemccandless.com>.
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