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

Adrien Grand commented on LUCENE-7064:
--------------------------------------

OK, I agree consistency with PhraseQuery is good.

> Make MultiPhraseQuery immutable
> -------------------------------
>
>                 Key: LUCENE-7064
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7064
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Luc Vanlerberghe
>            Priority: Minor
>             Fix For: master, 6.0
>
>
> See LUCENE-6531
> Mutable queries are an issue for automatic filter caching since modifying a 
> query after it has been put into the cache will corrupt the cache. We should 
> make all queries immutable (up to the boost) to avoid this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to