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 6F55E178BF for ; Mon, 2 Feb 2015 20:39:53 +0000 (UTC) Received: (qmail 83563 invoked by uid 500); 2 Feb 2015 20:39:50 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 83498 invoked by uid 500); 2 Feb 2015 20:39:50 -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 83481 invoked by uid 99); 2 Feb 2015 20:39:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 20:39:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alinazemian@gmail.com designates 209.85.192.46 as permitted sender) Received: from [209.85.192.46] (HELO mail-qg0-f46.google.com) (209.85.192.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 20:39:41 +0000 Received: by mail-qg0-f46.google.com with SMTP id i50so49173201qgf.5 for ; Mon, 02 Feb 2015 12:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ri9bpQTMaT+ctUlTbaewA+CEdWgR54vzu8pyWcTSMJU=; b=NfvOK3FepVRWedvz5WJPAI2+QUPhtCW6Lh3bCGemzqLxjLzLQAJi85tpJkWg3vTsty CNQXoWuQoOlFJdRN/BPbUyMjtanPCpsFCKOhFPn8s8eUAFypiFK9KPXK5MR0wq9F2AI+ A7LtKHrWKAs5pfC4BPLlCdXWR0h4Uunx4ajFD9031wu4POX4sONxDd7oaYVo3LzbB005 4hnRIlN0pIXKWIE6YTMVBfZ47bd4IjZS9vRJ4sJlcrstPRany6kjkqtpTaU/rjWk5yKN CDbVwfo6feCmsFlUqdOM8djKmwbqAyAOilSo5Vrp5jjBQZpC+qsbcgc0qwBV+FCSVZ0a KfHQ== MIME-Version: 1.0 X-Received: by 10.224.119.143 with SMTP id z15mr45599822qaq.11.1422909560883; Mon, 02 Feb 2015 12:39:20 -0800 (PST) Received: by 10.140.130.206 with HTTP; Mon, 2 Feb 2015 12:39:20 -0800 (PST) Received: by 10.140.130.206 with HTTP; Mon, 2 Feb 2015 12:39:20 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Feb 2015 00:09:20 +0330 Message-ID: Subject: Re: Lucene cosine similarity score for more like this query From: Ali Nazemian To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=047d7bacc080ec906a050e20f21b X-Virus-Checked: Checked by ClamAV on apache.org --047d7bacc080ec906a050e20f21b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear Erik, Thank you for your response. Would younplease tell me why this score could be higher than 1? While cosine similarity can not be higher than 1. On Feb 2, 2015 7:32 PM, "Erik Hatcher" wrote: > The scoring is the same as Lucene. To get deeper insight into how a scor= e > is computed, use Solr=E2=80=99s debug=3Dtrue mode to see the explain deta= ils in the > response. > > Erik > > > On Feb 2, 2015, at 10:49 AM, Ali Nazemian wrote= : > > > > Hi, > > I was wondering what is the range of score is brought by more like this > > query in Solr? I know that the Lucene uses cosine similarity in vector > > space model for calculating similarity between two documents. I also kn= ow > > that cosine similarity is between -1 and 1 but the fact that I dont > > understand is why the score which is brought by more like this query > could > > be "12" for example?! Would you please explain what is the calculation > > process is Solr? > > Thank you very much. > > > > Best regards. > > > > -- > > A.Nazemian > > --047d7bacc080ec906a050e20f21b--