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

Add a copy constructor in AutomatonQuery to copy directly the compiled automaton

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      When the query is composed of multiple AutomatonQuery with the same automaton and which target different fields, it is much more efficient to reuse the already compiled automaton by copying it directly and just changing the target field.

        Attachments

        1. LUCENE-8159.patch
          0.1 kB
          Bruno Roustant
        2. 0001-Add-a-copy-constructor-in-AutomatonQuery-to-copy-dir.patch
          2 kB
          Bruno Roustant

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              bruno.roustant Bruno Roustant
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: