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 292686075 for ; Tue, 2 Aug 2011 21:36:51 +0000 (UTC) Received: (qmail 13106 invoked by uid 500); 2 Aug 2011 21:36:49 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 13010 invoked by uid 500); 2 Aug 2011 21:36:49 -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 12998 invoked by uid 99); 2 Aug 2011 21:36:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 21:36:49 +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 21:36:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1AEC99B8C1 for ; Tue, 2 Aug 2011 21:36:27 +0000 (UTC) Date: Tue, 2 Aug 2011 21:36:27 +0000 (UTC) From: "Otis Gospodnetic (JIRA)" To: dev@lucene.apache.org Message-ID: <908802571.2973.1312320987107.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1373089671.1769.1312299087370.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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 [ https://issues.apache.org/jira/browse/SOLR-2689?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13078= 451#comment-13078451 ]=20 Otis Gospodnetic commented on SOLR-2689: ---------------------------------------- Markus - I can't even tell this frange call cuts-off any of the hits - you = have numFound=3D"227763" in both examples above. Am I missing something? := ) > !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' a= nd return the document digest and score (i don't seem to be able get only s= core, 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 docum= ents. When using multiple search terms i can indeed cut-off the result set = but in the end all returned documents have score=3D1.0f. The final result s= et cannot be sorted by score anymore. The result set seems to be returned i= n 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