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 099099BCE for ; Sun, 12 Feb 2012 08:15:30 +0000 (UTC) Received: (qmail 39570 invoked by uid 500); 12 Feb 2012 08:15:27 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 39284 invoked by uid 500); 12 Feb 2012 08:15:23 -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 39277 invoked by uid 99); 12 Feb 2012 08:15:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2012 08:15:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2012 08:15:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E8F61B1F1B for ; Sun, 12 Feb 2012 08:14:59 +0000 (UTC) Date: Sun, 12 Feb 2012 08:14:59 +0000 (UTC) From: "Zac Smith (Created) (JIRA)" To: dev@lucene.apache.org Message-ID: <57191884.29237.1329034499519.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (SOLR-3128) When terms are removed from the query analysis, dismax creates an empty required query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 When terms are removed from the query analysis, dismax creates an empty required query -------------------------------------------------------------------------------------- Key: SOLR-3128 URL: https://issues.apache.org/jira/browse/SOLR-3128 Project: Solr Issue Type: Bug Components: Schema and Analysis, search Affects Versions: 3.5 Reporter: Zac Smith Consider the following situation: A field type is setup with the following query analyzer: The text 'chicken stock' is used as a search term. The WhitespaceTokenizerFactory will create two terms: 'chicken' and 'stock'. Then the ShingleFilterFactory will join them back into a single term 'chicken stock'. Now the resulting dismax query will be: +() DisjunctionMaxQuery((ingredient_synonyms:chicken stock)~0.01) Note the empty required query: +() -- 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