Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11865

Refactor QueryElevationComponent to prepare query subset matching

    XMLWordPrintableJSON

    Details

      Description

      The goal is to prepare a second improvement to support query terms subset matching or query elevation rules.

      Before that, we need to refactor the QueryElevationComponent. We make it extendible. We introduce the ElevationProvider interface which will be implemented later in a second patch to support subset matching. The current full-query match policy becomes a default simple MapElevationProvider.

      • Add overridable methods to handle exceptions during the component initialization.
      • Add overridable methods to provide the default values for config properties.
      • No functional change beyond refactoring.
      • Adapt unit test.

        Attachments

        1. 0002-Refactor-QueryElevationComponent-after-review.patch
          22 kB
          Bruno Roustant
        2. 0001-Refactor-QueryElevationComponent-to-introduce-Elevat.patch
          85 kB
          Bruno Roustant
        3. SOLR-11865.patch
          0.2 kB
          Bruno Roustant
        4. 0003-Remove-exception-handlers-and-refactor-getBoostDocs.patch
          23 kB
          Bruno Roustant
        5. SOLR-11865.patch
          105 kB
          David Smiley
        6. SOLR-11865.patch
          104 kB
          David Smiley
        7. SOLR-11865.patch
          104 kB
          David Smiley

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                bruno.roustant Bruno Roustant
              • 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 - 50m
                  50m