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

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

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • trunk
    • None
    • core/search
    • None
    • 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

            dsmiley David Smiley
            broustant Bruno Roustant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: