[
https://issues.apache.org/jira/browse/LUCENE-6531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644173#comment-14644173
]
ASF subversion and git services commented on LUCENE-6531:
---------------------------------------------------------
Commit 1693060 from [~jpountz] in branch 'dev/trunk'
[ https://svn.apache.org/r1693060 ]
LUCENE-6531: backported to 5.3.
> Make PhraseQuery immutable
> --------------------------
>
> Key: LUCENE-6531
> URL: https://issues.apache.org/jira/browse/LUCENE-6531
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 5.3, 6.0
>
> Attachments: LUCENE-6531.patch, LUCENE-6531.patch
>
>
> 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]