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

qt Dispatching Request Handler

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: search
    • Labels:
      None

      Description

      Instead of 'qt' being handled by the SolrDispatchFilter (a Servlet Filter), it would be better implemented as a request handler, with a suggested name of DispatchingRequestHandler. This is better because:

      • it keeps the servlet filter more focused / simplified (albeit just a little)
      • it simplifies solrconfig.xml by removing/deprecating handleSelect="true". 'qt' is less magic, it works more explicitly.
      • if you don't want to use 'qt' dispatch, simply don't use DispatchingRequestHandler
      • DispatchingRequestHandler would get used by EmbeddedSolrServer but SolrDispatchFilter is not.

      Credit: Hoss's idea, Erik coded a first draft

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dsmiley David Smiley
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: