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

Make MemoryIndex thread-safe for queries

Details

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

    Description

      We want to be able to run multiple queries at once over a MemoryIndex in luwak (see https://github.com/flaxsearch/luwak/commit/49a8fba5764020c2f0e4dc29d80d93abb0231191), but this isn't possible with the current implementation. However, looking at the code, it seems that it would be relatively simple to make MemoryIndex thread-safe for reads/queries.

      Attachments

        1. LUCENE-5911.patch
          54 kB
          Alan Woodward
        2. LUCENE-5911.patch
          4 kB
          Alan Woodward
        3. LUCENE-5911-2.patch
          8 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: