Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Updated: (LUCENE-2092) BooleanQuery.hashCode and equals ignore isCoordDisabled

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Nov 23, 2009, 3:04 PM

Post #1 of 2 (271 views)
Permalink
[jira] Updated: (LUCENE-2092) BooleanQuery.hashCode and equals ignore isCoordDisabled

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

Michael McCandless updated LUCENE-2092:
---------------------------------------

Attachment: LUCENE-2092.patch

Attached patch... the fix caused TestWildcard.testEmptyTerm to fail, so I fixed that too, and on back-compat branch.

> BooleanQuery.hashCode and equals ignore isCoordDisabled
> -------------------------------------------------------
>
> Key: LUCENE-2092
> URL: https://issues.apache.org/jira/browse/LUCENE-2092
> Project: Lucene - Java
> Issue Type: Bug
> Components: Query/Scoring
> Affects Versions: 1.9, 2.0.0, 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.4, 2.4.1, 2.9, 2.9.1
> Reporter: Hoss Man
> Assignee: Michael McCandless
> Attachments: LUCENE-2092.patch
>
>
> BooleanQuery.isCoordDisabled() is not considered by BooleanQuery's hashCode() or equals() methods ... this can cause serious badness to happen when caching BooleanQueries.
> bug traces back to at least 1.9

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene


jira at apache

Nov 23, 2009, 11:12 PM

Post #2 of 2 (228 views)
Permalink
[jira] Updated: (LUCENE-2092) BooleanQuery.hashCode and equals ignore isCoordDisabled [In reply to]

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

Uwe Schindler updated LUCENE-2092:
----------------------------------

Fix Version/s: 3.1
3.0.1
2.9.2

> BooleanQuery.hashCode and equals ignore isCoordDisabled
> -------------------------------------------------------
>
> Key: LUCENE-2092
> URL: https://issues.apache.org/jira/browse/LUCENE-2092
> Project: Lucene - Java
> Issue Type: Bug
> Components: Query/Scoring
> Affects Versions: 1.9, 2.0.0, 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.4, 2.4.1, 2.9, 2.9.1
> Reporter: Hoss Man
> Assignee: Michael McCandless
> Fix For: 2.9.2, 3.0.1, 3.1
>
> Attachments: LUCENE-2092.patch
>
>
> BooleanQuery.isCoordDisabled() is not considered by BooleanQuery's hashCode() or equals() methods ... this can cause serious badness to happen when caching BooleanQueries.
> bug traces back to at least 1.9

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.