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

Cache DocValues DirecSource

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1, 6.0
    • core/codecs
    • None
    • New, Patch Available

    Description

      Currently the user need to make sure that a direct source is not shared between threads and each time someone calls getDirectSource we create a new source which has a reasonable overhead. We can certainly reduce the overhead (maybe different issue) but it should be easier for the user to get a direct source and handle it. More than that is should be consistent with getSource / loadSource.

      Attachments

        1. LUCENE-4538.patch
          22 kB
          Simon Willnauer
        2. LUCENE-4538.patch
          12 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: