Skip to content

Make PhraseQuery immutable [LUCENE-6531] #7589

@asfimport

Description

@asfimport

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.


Migrated from LUCENE-6531 by Adrien Grand (@jpountz), resolved Jun 16 2015
Attachments: LUCENE-6531.patch (versions: 2)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions