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

Julie Tibshirani commented on LUCENE-10552:
-------------------------------------------

Great catch, thanks [~ChrisLu] ! Luckily I don't think this will affect cache 
correctness (as can happen with other queries that have incorrect equals/ 
hashCode). This is because we perform the search in {{rewrite}}, which happens 
before we check the QueryCache.

> KnnVectorQuery has incorrect equals/ hashCode
> ---------------------------------------------
>
>                 Key: LUCENE-10552
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10552
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Lu Xugang
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> filter query could impact document-filtering properties, so maybe it should 
> be a condition in Query#equals and Query#hashCode ?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to