Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8E207200BE2 for ; Thu, 15 Dec 2016 22:18:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8CB7F160B15; Thu, 15 Dec 2016 21:18:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D6F24160B13 for ; Thu, 15 Dec 2016 22:18:09 +0100 (CET) Received: (qmail 13888 invoked by uid 500); 15 Dec 2016 21:18:08 -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 13875 invoked by uid 99); 15 Dec 2016 21:18:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 21:18:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9376BC11F7 for ; Thu, 15 Dec 2016 21:18:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.299 X-Spam-Level: X-Spam-Status: No, score=-4.299 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ibD0TM0G3suW for ; Thu, 15 Dec 2016 21:18:07 +0000 (UTC) Received: from mailer.zib.de (mailer.zib.de [130.73.108.11]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7C5315F19B for ; Thu, 15 Dec 2016 21:18:06 +0000 (UTC) Received: from mailsrv2.zib.de (mailsrv2.zib.de [130.73.108.14]) by mailer.zib.de (8.14.5/8.14.5) with ESMTP id uBFLBcww001532 for ; Thu, 15 Dec 2016 22:11:38 +0100 (CET) Received: from [130.73.63.95] (probibw15.zib.de [130.73.63.95]) by mailsrv2.zib.de (8.14.5/8.14.5) with ESMTP id uBFLBcQT013555 for ; Thu, 15 Dec 2016 22:11:38 +0100 (CET) Subject: Re: Checking Optimal Values for BM25 To: solr-user@lucene.apache.org References: From: Sascha Szott Message-ID: <58530705.5050808@zib.de> Date: Thu, 15 Dec 2016 22:11:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at mailer.zib.de with ID 5853070A.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 5853070A.000 from mailsrv2.zib.de/mailsrv2.zib.de/null/mailsrv2.zib.de/ X-j-chkmail-Score: MSGID : 5853070A.000 on mailer.zib.de : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham archived-at: Thu, 15 Dec 2016 21:18:10 -0000 Hi Furkan, in order to change the BM25 parameter values k1 and b, the following XML snippet needs to be added in your schema.xml configuration file: 1.3 0.7 It is even possible to specify the SimilarityFactory on individual index fields. See [1] for more details. Best Sascha [1] https://wiki.apache.org/solr/SchemaXml#Similarity Am 15.12.2016 um 14:58 schrieb Furkan KAMACI: > Hi, > > Sole's default similarity is BM25 anymore. Its parameters are defined as > > k1=1.2, b=0.75 > > as default. However is there any way that to check the effect of using > different coefficients to calculate BM25 to find the optimal values? > > Kind Regards, > Furkan KAMACI >