You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2011/03/01 23:01:36 UTC

[jira] Updated: (LUCENE-2945) Surround Query doesn't properly handle equals/hashcode

     [ https://issues.apache.org/jira/browse/LUCENE-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Elschot updated LUCENE-2945:
---------------------------------

    Attachment: LUCENE-2945-partial1.patch

The -partial1 patch is about half way through the files in the surround.query package, and it is not even compiled yet.

I don't know how much time I have for this for the rest of the week, so Grant, if you are in a hurry you can take it from here.

The patch also removes some internally unused code, I suppose no one has used that yet.


> Surround Query doesn't properly handle equals/hashcode
> ------------------------------------------------------
>
>                 Key: LUCENE-2945
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2945
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.0.3, 4.0
>            Reporter: Grant Ingersoll
>            Priority: Minor
>         Attachments: LUCENE-2945-partial1.patch
>
>
> In looking at using the surround queries with Solr, I am hitting issues caused by collisions due to equals/hashcode not being implemented on the anonymous inner classes that are created by things like DistanceQuery (branch 3.x, near line 76)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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