lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <>
Subject [jira] Commented: (LUCENE-452) PrefixQuery is missing the equals() method
Date Wed, 12 Oct 2005 12:46:12 GMT
    [ ] 

Erik Hatcher commented on LUCENE-452:

Thank you for this patch!  I'm in the process of applying it right now.   Your use of the
boost factor was nice to see, but points out that we have ignored it in other .equals methods
(e.g. WildcardQuery).  If you're interested, we'd accept patches to correct all of the other
.equals methods to incorporate the boost factor :)

> PrefixQuery is missing the equals() method
> ------------------------------------------
>          Key: LUCENE-452
>          URL:
>      Project: Lucene - Java
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Guillaume Blain
>     Priority: Minor
>  Attachments:
> The PrefixQuery is inheriting the java.lang.Object's object default equals method. This
makes it hard to have test working of PrefixFilter or any other task requiring equals to work
proerply (insertion in Set, etc.). The equal method should be very similar, not to say identical
except for class casting, to the equals() of TermQuery. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message