[ 
https://issues.apache.org/jira/browse/SOLR-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471814
 ] 

Yonik Seeley commented on SOLR-152:
-----------------------------------

> an approach like this would require that the client notice when no query is 
> specified, and set teh q appropraitely

I'm not sure I understand... wouldn't defaulting still work the same way?

 <requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
    <lst name="defaults">
       <str name="q">[!lucene]*:*</str> 

I thought you were proposing an altq that would work just like q, but it would 
be in lucene query syntax.
What happens when one one wants XML syntax?
But as you say,  the dismax syntax is special...  in that context, either an 
altq or q.type param would make sense.   Then, the altq could actually have the 
optional annotations about what type of query it is (if/when we get around to 
that).


> Dismax should not require 'q'
> -----------------------------
>
>                 Key: SOLR-152
>                 URL: https://issues.apache.org/jira/browse/SOLR-152
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Ryan McKinley
>            Priority: Trivial
>         Attachments: SOLR-152-DismaxNoQ.patch, SOLR-152-DismaxNoQ.patch
>
>
> using fq=xxx should be sufficient to make a valid query
> see:
> http://www.nabble.com/dismax-without-q%3D-tf3198431.html#a8880594

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to