We've found a way to work around it.  In our search components, we're doing 
something like:

  defType = defType == null ? DisMaxQParserPlugin.NAME : defType;

If you add &defType=dismax to the query string, it'll use the 
DisMaxQParserPlugin.

Unfortunately, I haven't been able to figure out an easy way to access the config for the different defined disxmax handlers in the config, so on our service side (Rails app), we're going to have a configuration with all the params we need to pass (qf, pf, fl, etc) and send them based on parameters we have coming into the service that we use to figure out which dismax handler to use (uh, yeah, I think that sounds right).

This may not be the best way to do it, but it will work fine for us until we can dedicate more time to it (we roll out Solr and our search service to QA next week).

Doug

Charles Hornberger wrote:
On Jan 21, 2008 10:23 AM, Doug Steigerwald
<[EMAIL PROTECTED]> wrote:
Is there any support for DisMax (or any search request handlers) in search 
components, or is that
something that still needs to be done?  It seems like it isn't supported at the 
moment.

I was curious about this, too ... If it *is* something that needs to
be done, am happy to help w/ the coding. But I would need some
advice/guidance up front --  I'm new enough to Solr that the design
behind the SearchComponents refactoring is not immediately obvious to
me, either from the Jira comments or the code itself.

-Charlie

Reply via email to