You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2010/08/05 15:40:17 UTC

[jira] Issue Comment Edited: (SOLR-2031) QueryComponent's default query parser should be configurable from solrconfig.xml

    [ 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: markrmiller@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org