Re: PageRank sort

2009-04-24 Thread Grant Ingersoll
How often are you updating the rank? You might also be able to keep the rank info in a flat file via the ExternalFileField and the FileFloatSource and do FunctionQuery stuff that way. However, I don't know how that handles refreshing data or if it would be efficient in your case. On

Re: PageRank sort

2009-04-24 Thread Marcus Herou
Hi. Comments inline. On Fri, Apr 24, 2009 at 1:00 PM, Grant Ingersoll gsing...@apache.orgwrote: How often are you updating the rank? The goal is to optimize the pagerank calculating algorithm so can have continuous updates (1 blogs at a time 24/7) but more likely we'll end up refreshing

Re: PageRank sort

2009-04-24 Thread Yonik Seeley
On Fri, Apr 24, 2009 at 1:39 PM, Marcus Herou marcus.he...@tailsweep.com wrote: Great! That seems like something that could work. Depends on how that field get's re-read/indexed I guess. http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html It's a separate *text* file

Re: PageRank sort

2009-04-24 Thread Marcus Herou
And I published the setup here: http://dev.tailsweep.com/solr-external-scoring/en/ /M On Sat, Apr 25, 2009 at 12:01 AM, Marcus Herou marcus.he...@tailsweep.comwrote: Works like a charm! Thank you sir. //Marcus On Fri, Apr 24, 2009 at 11:01 PM, Marcus Herou marcus.he...@tailsweep.com

Re: PageRank sort

2009-04-24 Thread Marcus Herou
Works like a charm! Thank you sir. //Marcus On Fri, Apr 24, 2009 at 11:01 PM, Marcus Herou marcus.he...@tailsweep.comwrote: That is fantastic, I am creating a really small index right now trying to figure out howto implement the FunctionQuery for this. //Marcus On Fri, Apr 24, 2009 at

Re: PageRank sort

2009-04-24 Thread Marcus Herou
Cool! GET ' http://127.0.0.1:8110/solr/test/select?indent=onstart=0rows=100q={!boostb=blogRank v=$qq}qq=title:solrdebugQuery=on' On Sat, Apr 25, 2009 at 12:43 AM, Marcus Herou marcus.he...@tailsweep.comwrote: That seems wise... PageRank * Text-based Scoring. So you mean in my stupid case

Re: PageRank sort

2009-04-24 Thread Marcus Herou
Meant this part: m...@mahe-laptop:~$ GET ' http://127.0.0.1:8110/solr/test/select?indent=onstart=0rows=100q={!boostb=blogRank v=$qq}qq=title:solrdebugQuery=on' ?xml version=1.0 encoding=UTF-8? response lst name=responseHeader int name=status0/int int name=QTime121/int lst name=params str

PageRank sort

2009-04-23 Thread Marcus Herou
Hi. I've posted before but here it goes again: I have BlogData data which is more or less 100% static but one field is not - the PageRank. I would like to sort on that field and on the Lucene list I got these answers. 1. Use two indexes and a ParallellReader 2. Use a FieldScoreQuery containing