Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 22604 invoked from network); 2 Mar 2011 20:17:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Mar 2011 20:17:16 -0000 Received: (qmail 40238 invoked by uid 500); 2 Mar 2011 20:17:00 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 40168 invoked by uid 500); 2 Mar 2011 20:17:00 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 40134 invoked by uid 99); 2 Mar 2011 20:16:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 20:16:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 20:16:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4560D4CEE0 for ; Wed, 2 Mar 2011 20:16:37 +0000 (UTC) Date: Wed, 2 Mar 2011 20:16:36 +0000 (UTC) From: "Grant Ingersoll (JIRA)" To: dev@lucene.apache.org Message-ID: <1338523004.8713.1299096997278.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1922423681.5582.1299002437893.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (LUCENE-2945) Surround Query doesn't properly handle equals/hashcode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001596#comment-13001596 ] Grant Ingersoll commented on LUCENE-2945: ----------------------------------------- bq. but there is no test added for the added hashCode() and equals(). Note, QueryUtils has methods for that. I will review soon. > 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 > Assignee: Grant Ingersoll > Priority: Minor > Fix For: 3.1, 4.0 > > Attachments: LUCENE-2945-partial1.patch, LUCENE-2945.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