You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2005/02/08 13:27:17 UTC

DO NOT REPLY [Bug 33442] New: - IndexReader.getFieldNames() reports too many fields

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33442>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33442

           Summary: IndexReader.getFieldNames() reports too many fields
           Product: Lucene
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Index
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: ab@getopt.org


IndexReader.getFieldNames() (also in the variant with
IndexReader.FieldOptions.ALL) reports always one field too many. This additional
field has an empty name, and of course does not really exist in the index.

This bug has been introduced somewhere around the 1.2.x series, when the
getFieldNames() method was introduced, and AFAIK has been present ever since
including the CVS HEAD.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Re: DO NOT REPLY [Bug 33442] New: - IndexReader.getFieldNames() reports too many fields

Posted by Bernhard Messer <bm...@apache.org>.
>This bug has been introduced somewhere around the 1.2.x series, when the
>getFieldNames() method was introduced, and AFAIK has been present ever since
>including the CVS HEAD.
>  
>
i marked this bug as invalid, because it is identical to Patch #19058 
and already fixed in subversion trunk. If you still find that the 
problem exists, please reopen the patch and assign a small test case 
showing up the problem. Please keep in mind that you have to create the 
index with the latest version also, because the empty field was 
generated during index creation.

Bernhard



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