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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 8.2, 9.0
    • search

    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
          Ramsey Haddad
        2. SOLR-13511.patch
          1 kB
          Christine Poerschke
        3. SOLR-13511.patch
          1 kB
          Christine Poerschke

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: