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

David Smiley commented on SOLR-3534:
------------------------------------

I ran all tests before committing and found the MinimalSchemaTest failed 
related to the "dismaxNoDefaults" request handler in the test solrconfig.xml 
which was added in SOLR-1776.  The problem is throwing an exception if there's 
no 'qf', 'df', or default search field.  I disagree with that test -- it is 
erroneous/misleading to use dismax without setting any default field.  I am 
inclined to delete the "dismaxNoDefaults" test request handler (assuming there 
are no other ramifications).  I want to get input from Hoss who put it there so 
I'll wait.
                
> dismax and edismax should default to "df" when "qf" is absent.
> --------------------------------------------------------------
>
>                 Key: SOLR-3534
>                 URL: https://issues.apache.org/jira/browse/SOLR-3534
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>    Affects Versions: 4.0
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>         Attachments: 
> SOLR-3534_dismax_and_edismax_should_default_to_df_if_qf_is_absent.patch
>
>
> The dismax and edismax query parsers should default to "df" when the "qf" 
> parameter is absent.  They only use the defaultSearchField in schema.xml as a 
> fallback now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to