Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 22595 invoked from network); 16 Jul 2009 23:39:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jul 2009 23:39:34 -0000 Received: (qmail 99564 invoked by uid 500); 16 Jul 2009 23:40:39 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 99480 invoked by uid 500); 16 Jul 2009 23:40:39 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 99469 invoked by uid 99); 16 Jul 2009 23:40:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 23:40:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 23:40:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C2800234C004 for ; Thu, 16 Jul 2009 16:40:14 -0700 (PDT) Message-ID: <1579760394.1247787614783.JavaMail.jira@brutus> Date: Thu, 16 Jul 2009 16:40:14 -0700 (PDT) From: "Hoss Man (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-1271) Stopwords search with function query(_val_) in Solr In-Reply-To: <1643222017.1247234415244.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man resolved SOLR-1271. ---------------------------- Resolution: Invalid 1) There's no bug here... * the query parser ignores the stopwords completely when parsing, so your first example produces an empty query, which doesn't match anything * function queries match all docs with varying scores (based on the function), so your second example produces a query that matches everything. 2) in the future, if you are getting behavior that doesn't make sense (but doens't produce an actual error message), please post a question to solr-user describing what you are trying to do and the behavior you are seeing before filing a bug in Jira. > Stopwords search with function query(_val_) in Solr > --------------------------------------------------- > > Key: SOLR-1271 > URL: https://issues.apache.org/jira/browse/SOLR-1271 > Project: Solr > Issue Type: Bug > Components: search > Affects Versions: 1.3 > Reporter: arvind > > Consider the following cases : > q=stopword1+stopword2 gives no results which is correct > Now, if we modify the above query to use function query like, > q=stopword1+stopword2 _val_:"rord(field)" then Solr gives some results but, ideally it should not > Can anybody please have a look at this issue? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.