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

Lucene monitor module uses ByteBuffersDirectory rather than MemoryIndex when matching a single document

    XMLWordPrintableJSON

    Details

    • Lucene Fields:
      New

      Description

      Lucene monitor function, match single document, wraps a single document into a array of documents. Hence, it always calls the function, match many documents,  which builds a MultiDocumentBatch rather than a SingletonDocumentBatch. The former uses ByteBuffersDirectory while later uses MemoryIndex.

      As per documentation, MemoryIndex is a high-performance single-document main memory Apache Lucene fulltext search index. Hence, Lucene monitor should use it when matching a single document.

      The patch routes match single document to a SingletonDocumentBatch.

        Attachments

        1. LUCENE-9314.patch
          3 kB
          Pierre-Luc Perron
        2. LUCENE-9314.patch
          5 kB
          Pierre-Luc Perron
        3. LUCENE-9314.patch
          4 kB
          Pierre-Luc Perron
        4. LUCENE-9314.patch
          4 kB
          Pierre-Luc Perron

          Issue Links

            Activity

              People

              • Assignee:
                romseygeek Alan Woodward
                Reporter:
                pl.perron Pierre-Luc Perron
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m