lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-3534) dismax and edismax should default to "df" when "qf" is absent.
Date Thu, 14 Jun 2012 05:19:42 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message