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

For SearchHandler, expose "new ResponseBuilder()" to allow override

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: master (9.0), 8.2
    • Component/s: search
    • Labels:

      Description

      This change is all we want upstream. To use this from our plugins, we intend:

      Extend ResponseBuilder to have additional state (and we think others might want to as well).
      Use an extended SearchHandler that simply creates our ResponseBuilder instead of the standard one.
      We also extend QueryComponent to do our extra behavior if it sees our Response builder instead of the standard one.
      We then change config to use our Search Handler for requestHandler with name="/select" and our QueryComponent for searchComponent with name="query".

        Attachments

        1. SOLR-13511.patch
          1 kB
          Christine Poerschke
        2. SOLR-13511.patch
          1 kB
          Christine Poerschke
        3. SOLR-13511.patch
          1 kB
          Ramsey Haddad

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              rwhaddad Ramsey Haddad
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: