Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62A299FC9 for ; Wed, 13 Jun 2012 03:46:45 +0000 (UTC) Received: (qmail 82805 invoked by uid 500); 13 Jun 2012 03:46:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 82617 invoked by uid 500); 13 Jun 2012 03:46:43 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 82596 invoked by uid 99); 13 Jun 2012 03:46:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2012 03:46:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id F142414285F for ; Wed, 13 Jun 2012 03:46:42 +0000 (UTC) Date: Wed, 13 Jun 2012 03:46:42 +0000 (UTC) From: "David Smiley (JIRA)" To: dev@lucene.apache.org Message-ID: <1029981521.10842.1339559202989.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1428727444.4118.1339447302681.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (SOLR-3534) dismax and edismax should default to "df" when "qf" is absent. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294121#comment-13294121 ] 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: 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-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org