[
https://issues.apache.org/jira/browse/LUCENE-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861129#comment-15861129
]
Michael McCandless commented on LUCENE-7685:
--------------------------------------------
+1
What on earth did this comment mean?
{noformat}
This makes rewritten query equal the original, so that user does not have to
.rewrite() their query before searching:
{noformat}
Why would a user have to (in the past) manually rewrite their query before
searching ...
> Remove equals/rewrite hacks from block join queries
> ---------------------------------------------------
>
> Key: LUCENE-7685
> URL: https://issues.apache.org/jira/browse/LUCENE-7685
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7685.patch
>
>
> These queries try to ensure that rewritten queries are equal to the original
> query by keeping around the original query that was used to instantiate the
> join query. However this does not buy anything, and could even prevent two
> queries that rewrite to the same form to be considered equals.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]