You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/03/04 14:25:40 UTC

[jira] [Resolved] (LUCENE-7064) Make MultiPhraseQuery immutable

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

Adrien Grand resolved LUCENE-7064.
----------------------------------
    Resolution: Fixed

Pushed. Thanks Luc!

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org