[ 
https://issues.apache.org/jira/browse/LUCENE-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142413#comment-13142413
 ] 

Robert Muir commented on LUCENE-3554:
-------------------------------------

How would equals work if you use public Field(String name, TokenStream 
tokenStream) ?
                
> AbstractField / Field / NumericField do not override equals and hashcode 
> methods
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-3554
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3554
>             Project: Lucene - Java
>          Issue Type: Wish
>          Components: core/index
>            Reporter: Alexandre Dupriez
>            Priority: Minor
>   Original Estimate: 1h 55m
>  Remaining Estimate: 1h 55m
>
> Field, NumericField and AbstractField implementations of Fieldable do not 
> override equals and hashcode methods and cannot be compared as such.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to