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 Wed, 13 Jun 2012 03:46:42 GMT


David Smiley commented on SOLR-3534:

Jack: I'll improve the exception wording as you suggest.

bq. Any idea what happens for the classic/Solr or flex query parsers if default search field
is not present?

The lucene query parser (which is the default) doesn't technically require a default field,
but if there is ambiguity in the query (i.e. a simple search word) then you get an exception.
> 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