Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

答复: 答复: how to effeciently implement the stastical scores like pagerank?

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


zhou_qi at sjtu

Nov 16, 2007, 9:24 PM

Post #1 of 1 (328 views)
Permalink
答复: 答复: how to effeciently implement the stastical scores like pagerank?

It works. John and Michael Thank you very much.

Best Regards,

Zhou Qi
Dept. Computer Science & Engineering
Shanghai Jiaotong University


-----邮件原件-----
发件人: Michael Busch [mailto:buschmic[at]gmail.com]
发送时间: 2007年11月16日 2:34
收件人: java-user[at]lucene.apache.org
主题: Re: 答复: how to effeciently implement the stastical scores like pagerank?

John Wang wrote:
> Would payload work?
> -John
>
>
Yes, if you used payloads instead of stored fields your performance
should be much better.

Try and index one special term per document (e. g. score:pagerank), and
index one position with a payload for each doc. Then when you retrieve
hits open a TermPositions using the special term, get the payload and
incorporate it in the docs' score.

The performance overhead should be comparable to adding one AND-term to
your query.

-Michael

> On 11/15/07, Zhou Qi <zhou_qi[at]sjtu.edu.cn> wrote:
>
>> Thank you, my score is fixed score from the properties of the page, but at
>> first we need to adjust the score for a promising result.
>> I have tried one way of manually re-ranking all the documents by the
>> search results. But it needs to iterate all the retrieved results and fetch
>> the re-ranking score (stored in the index) to sum the overall score. It is
>> inefficient. How to improve that by a new approach?
>>
>> Sorry for making you misunderstanding. Thanks
>>
>> Best Regards,
>>
>> Zhou Qi
>> Dept. Computer Science & Engineering
>> Shanghai Jiaotong University
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.