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 3E3196E8F for ; Tue, 2 Aug 2011 15:31:54 +0000 (UTC) Received: (qmail 2117 invoked by uid 500); 2 Aug 2011 15:31:52 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 1942 invoked by uid 500); 2 Aug 2011 15:31:52 -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 1930 invoked by uid 99); 2 Aug 2011 15:31:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 15:31:51 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,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; Tue, 02 Aug 2011 15:31:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5B2B99A0E4 for ; Tue, 2 Aug 2011 15:31:27 +0000 (UTC) Date: Tue, 2 Aug 2011 15:31:27 +0000 (UTC) From: "Markus Jelsma (JIRA)" To: dev@lucene.apache.org Message-ID: <1373089671.1769.1312299087370.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (SOLR-2689) !frange with query($qq) sets score=1.0f for all returned documents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org !frange with query($qq) sets score=3D1.0f for all returned documents ------------------------------------------------------------------ Key: SOLR-2689 URL: https://issues.apache.org/jira/browse/SOLR-2689 Project: Solr Issue Type: Bug Components: search Affects Versions: 3.4 Reporter: Markus Jelsma Fix For: 3.4, 4.0 Consider the following queries, both query the default field for 'test' and= return the document digest and score (i don't seem to be able get only sco= re, fl=3Dscore returns all fields): This is a normal query and yields normal results with proper scores: {code} q=3Dtest&fl=3Ddigest,score {code} {code} =E2=88=92 4.952673 c48e784f06a051d89f20b72194b0dcf0 =E2=88=92 4.952673 7f78a504b8cbd86c6cdbf2aa2c4ae5e3 =E2=88=92 4.952673 0f7fefa6586ceda42fc1f095d460aa17 {code} This query uses frange with query() to limit the number of returned documen= ts. When using multiple search terms i can indeed cut-off the result set bu= t in the end all returned documents have score=3D1.0f. The final result set= cannot be sorted by score anymore. The result set seems to be returned in = the order of Lucene docId's. {code} q=3D{!frange l=3D1.23}query($qq)&qq=3Dtest&fl=3Ddigest,score {code} {code} =E2=88=92 1.0 c48e784f06a051d89f20b72194b0dcf0 =E2=88=92 1.0 7f78a504b8cbd86c6cdbf2aa2c4ae5e3 =E2=88=92 1.0 0f7fefa6586ceda42fc1f095d460aa17 {code} -- This message is automatically generated by JIRA. 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