[ 
https://issues.apache.org/jira/browse/SOLR-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895676#action_12895676
 ] 

Mark Miller edited comment on SOLR-2031 at 8/5/10 9:39 AM:
-----------------------------------------------------------

bq. It can't just get the default query parser from the request arguments.

Why is that? Why can't you just set the default at the request handler level?

{code}
<requestHandler name="dismax" class="solr.SearchHandler" >
    <lst name="defaults">
     <str name="defType">myqueryparser</str>
{code}

      was (Author: markrmil...@gmail.com):
    bq. It can't just get the default query parser from the request arguments.

Why is that? Why can you just set the default at the request handler level?

{code}
<requestHandler name="dismax" class="solr.SearchHandler" >
    <lst name="defaults">
     <str name="defType">myqueryparser</str>
{code}
  
> QueryComponent's default query parser should be configurable from 
> solrconfig.xml
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-2031
>                 URL: https://issues.apache.org/jira/browse/SOLR-2031
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Karl Wright
>            Priority: Minor
>         Attachments: SOLR-2031.patch
>
>
> In a multi-lucene-query environment, QueryComponent's way of selecting a 
> default query parser must include solrconfig.xml support to be useful.  It 
> can't just get the default query parser from the request arguments.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to