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

MemoryIndex.createSearcher should disable caching explicitly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1, master (7.0)
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Follow-up of LUCENE-7235: In practice, nothing will be cached with a reasonable cache implementation given the size of the index (a single document). But it would still be better to explicitly disable caching so that we don't eg. take unnecessary locks.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit ee7f91d7749d359d41996c1aa68788511dcaec10 in lucene-solr's branch refs/heads/branch_6x from Adrien Grand
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ee7f91d ]

        LUCENE-7238: Explicitly disable the query cache in MemoryIndex.createSearcher.

        Show
        jira-bot ASF subversion and git services added a comment - Commit ee7f91d7749d359d41996c1aa68788511dcaec10 in lucene-solr's branch refs/heads/branch_6x from Adrien Grand [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ee7f91d ] LUCENE-7238 : Explicitly disable the query cache in MemoryIndex.createSearcher.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 2ee8426d5e53879424102afa9d6e59c1c62414c9 in lucene-solr's branch refs/heads/master from Adrien Grand
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2ee8426 ]

        LUCENE-7238: Explicitly disable the query cache in MemoryIndex.createSearcher.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 2ee8426d5e53879424102afa9d6e59c1c62414c9 in lucene-solr's branch refs/heads/master from Adrien Grand [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2ee8426 ] LUCENE-7238 : Explicitly disable the query cache in MemoryIndex.createSearcher.
        Hide
        hossman Hoss Man added a comment -

        Manually correcting fixVersion per Step #S5 of LUCENE-7271

        Show
        hossman Hoss Man added a comment - Manually correcting fixVersion per Step #S5 of LUCENE-7271

          People

          • Assignee:
            jpountz Adrien Grand
            Reporter:
            jpountz Adrien Grand
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development