Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 57835 invoked from network); 20 Nov 2009 10:46:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 10:46:48 -0000 Received: (qmail 26139 invoked by uid 500); 20 Nov 2009 10:46:43 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 25976 invoked by uid 500); 20 Nov 2009 10:46:41 -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 25957 invoked by uid 99); 20 Nov 2009 10:46:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 10:46:41 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of songzi0206@gmail.com designates 209.85.210.192 as permitted sender) Received: from [209.85.210.192] (HELO mail-yx0-f192.google.com) (209.85.210.192) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 10:46:39 +0000 Received: by yxe30 with SMTP id 30so3445203yxe.29 for ; Fri, 20 Nov 2009 02:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=B0ej7VjtG5BV99ceaLhLvPiMf4VU/KRh7MFAZhZoysM=; b=wH7ibAsFU7hQ3ctT/W70lUBNZ19J85sz/k6V1vwk8i3Zt2M4xhH9oGS6yxHw8tLeFP OHhkD0XH61Q24dqesgHlA/dEhzaiKzYF1koCU+twcbxg4OCw7QNb+kbl4f5f5hezEZa4 M1fzKbsmdjrEg6Qo70MbRe5X7agpyiz3e9SGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KD98OzCgaxIos6mkXqCPFZkihCt4dGEI0oIp8w4rOyZhb3PWxukJLHQu888xk6uck4 w0mCrq5nh6lH0kaSNgKQ8rD6ZCNJWwO4LsZL0NmwYgE6Mb0tTp7h+AtgeMBR58a6yZrv qHMlvI7kE2QpxsONGFgT78whWNIFSkV7tcg5I= MIME-Version: 1.0 Received: by 10.151.2.35 with SMTP id e35mr2267358ybi.276.1258713976289; Fri, 20 Nov 2009 02:46:16 -0800 (PST) Date: Fri, 20 Nov 2009 18:46:16 +0800 Message-ID: <20df37d0911200246v507658c3m1eaa7d30fea08d84@mail.gmail.com> Subject: how to score in lucene From: Wilson Wu To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 hi, I have a problem with scoring a document in lucene. I know there are some factors such as docNum,boost,idf,docFreq,lengthNorm and so on. And I also know how to count docNum,docFreq,idf, but I really have no idea about counting the lengNorm . thx. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org