Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99A65E2E1 for ; Fri, 8 Feb 2013 10:41:31 +0000 (UTC) Received: (qmail 8246 invoked by uid 500); 8 Feb 2013 10:41:29 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 8203 invoked by uid 500); 8 Feb 2013 10:41:29 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 8175 invoked by uid 99); 8 Feb 2013 10:41:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 10:41:28 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of tropicano@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 10:41:23 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U3lOA-00027r-NK for java-user@lucene.apache.org; Fri, 08 Feb 2013 02:41:02 -0800 Date: Fri, 8 Feb 2013 02:41:02 -0800 (PST) From: heikki To: java-user@lucene.apache.org Message-ID: <1360320062707-4039206.post@n3.nabble.com> Subject: Custom score question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hello, I have the following question: is it possible to combine the result of a custom score, with the normal relevance ranking score ? We'd like to have a scoring where documents that have a "title" field that's the same as the "title" of many other documents, are ranked lower. But without losing the usual relevance ranking score--just influence it a bit. I suppose I could make a CustomScoreQuery that calculates something based on frequency of titles, but I don't see how that than might be combined with the default ranking score. Does anyone have a suggestion ? Kind regards Heikki Doeleman -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-score-question-tp4039206.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org