Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 57569 invoked from network); 28 May 2008 10:03:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 10:03:04 -0000 Received: (qmail 4822 invoked by uid 500); 28 May 2008 10:02:58 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 4798 invoked by uid 500); 28 May 2008 10:02:58 -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 4787 invoked by uid 99); 28 May 2008 10:02:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 03:02:58 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nttstar@gmail.com designates 209.85.142.186 as permitted sender) Received: from [209.85.142.186] (HELO ti-out-0910.google.com) (209.85.142.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 10:02:11 +0000 Received: by ti-out-0910.google.com with SMTP id b8so2227270tic.11 for ; Wed, 28 May 2008 03:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Tdv6XDo5apBcJfnTwCufMF3HAHXxIYHS21TYaMqgzX0=; b=lCe/1xmOrokteDnne3Da61bqoH6TcKle1nWCKlkWcibjhPTo69+M4YDWqGi66LcakkP1+PwJ7+dFn5bdOmeqmmvhjEo1WjFxrhJfOm1KLRl+cY7DfkQRv6El7spchjDNE6xWNifZnQ2sCuV6JILRntT4J9HjDW8P3lOcMPizLfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=v8woeNt0r75DMb9jIvxk4fPIUGqdp2U5lMzRBjx/yTOivGgtIAbzJsogae/epWf1G3AhxpHxq6HyzWUWPQLFvFD3MY7bzc6wYckU4BMST4nGMZqrOYBmb6fLaSAKyUDcZsDYYMBHfTDMvomKE9xFbriv9pFqBSiS2iUQv8QM/jQ= Received: by 10.110.37.17 with SMTP id k17mr347737tik.13.1211968945128; Wed, 28 May 2008 03:02:25 -0700 (PDT) Received: by 10.110.16.20 with HTTP; Wed, 28 May 2008 03:02:24 -0700 (PDT) Message-ID: <11e088b10805280302q933d019k2a7baad10d43e04f@mail.gmail.com> Date: Wed, 28 May 2008 18:02:24 +0800 From: "=?GB2312?B?uf280Q==?=" To: java-user@lucene.apache.org Subject: How to add PageRank score with lucene's relevant score in sorting MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19456_20267765.1211968945115" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19456_20267765.1211968945115 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi all , I have a problem that how to "combine" two score to sort the search result documents. for example I have 10 million pages in lucene index , and i know their pagerank scores. i give a query to it , every docs returned have a lucene-score, mark it as R (relevant score), and i also have its pagerank score, mark it as P, what i need is i want to sort the search result base on the value "P+R". You know if i store the pagerank score in index and get it every search time , then compute P+R , then sort it , this way is too slow. in my system , when the search hits 500000 result , the sort may cost about 20s. Sorry for my poor english. Anyone has a good idea? Best Jarvis ------=_Part_19456_20267765.1211968945115--