Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB90B11AE4 for ; Thu, 3 Jul 2014 09:05:37 +0000 (UTC) Received: (qmail 27129 invoked by uid 500); 3 Jul 2014 09:05:31 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 27057 invoked by uid 500); 3 Jul 2014 09:05:31 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 27039 invoked by uid 99); 3 Jul 2014 09:05:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 09:05:31 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of rachun.chom@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 09:05:26 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1X2cx0-0005nk-A0 for solr-user@lucene.apache.org; Thu, 03 Jul 2014 02:05:06 -0700 Date: Thu, 3 Jul 2014 02:05:06 -0700 (PDT) From: rachun To: solr-user@lucene.apache.org Message-ID: <1404378306296-4145417.post@n3.nabble.com> In-Reply-To: References: <1404313342526-4145214.post@n3.nabble.com> <1404314556786-4145216.post@n3.nabble.com> <1404325162.6851.YahooMailNeo@web124704.mail.ne1.yahoo.com> <85FC30DA9D52483C9600A00528E91F16@JackKrupansky14> <1404344680851-4145322.post@n3.nabble.com> Subject: Re: Customise score MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jack, I just found out that the sort it doesn't work right for the next page. The response result show that "numFound":23850. So I tried this .../select?q=MacBook&sort=sum(base_score,query($q,0))+desc&wt=json&indent=true&start=100 The summary of base_score and document sort at the next page should not be greater than the previous page but it does. So, I would like to ask you a few questions 1) sort=sum(base_score,query($q,0))+desc does it sort the whole result or just the current page? 2) sum(base_score,query($q,0)) I curious 0 does it mean boost score? 3) if this solution it doesn't work for me could you please suggest me other solution? Thank you very much for your help, Chun. -- View this message in context: http://lucene.472066.n3.nabble.com/Customise-score-tp4145214p4145417.html Sent from the Solr - User mailing list archive at Nabble.com.