Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6531

Make PhraseQuery immutable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-6531.patch
          165 kB
          Adrien Grand
        2. LUCENE-6531.patch
          147 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: