lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Luke bugs (Re: [jira] Commented: (LUCENE-1454) Corrupted index produced by lucene 2.4)
Date Tue, 18 Nov 2008 20:31:42 GMT

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


Mime
View raw message