lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-3346) qt Dispatching Request Handler
Date Tue, 10 Apr 2012 15:31:18 GMT


Yonik Seeley commented on SOLR-3346:

I think I would prefer leaving things as they are (as you say, it's just a small piece of
code in the SolrDispatchFilter... and "qt" is all about dispatching!)
It would seem to introduce extra overhead for anyone that wanted to use "qt" as they did before,
and there's a good probability that it would introduce more bugs as well.
> qt Dispatching Request Handler
> ------------------------------
>                 Key: SOLR-3346
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: David Smiley
>             Fix For: 4.0
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message