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

Add a test to assert that request dispatcher functions can be overridden

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 5.5, 6.0
    • None
    • None

    Description

      It should be possible for basic functions of the solr request dispatcher to be overridden e.g.

      protected void execute(SolrQueryResponse rsp)
      

      and

      protected void sendError(int code, String message) throws IOException {
      

      In Solr 5.2, SOLR-7484 broke this functionality and was fixed in 5.2.1 by SOLR-7623. We should add a test which asserts this feature so that it is not accidentally broken again in future.

      Attachments

        1. SOLR-7690.patch
          5 kB
          Marius Grama

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: