Hi Gora, Thanks for reply. I have computed pagerank offline for document set dump. I ideally want to use pagerank and solr relevency score together in formula to sort search solr result. I have already looked at http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_increase_the_score_for_specific_documents and found that indextimeboost is useful. I want to know how can I use indextimeboost ? Thanks Vineet Yadav
On Tue, Jun 12, 2012 at 1:32 PM, Gora Mohanty <g...@mimirtech.com> wrote: > On 12 June 2012 13:04, vineet yadav <vineet.yadav.i...@gmail.com> wrote: >> Hi, >> I have indexed documents and computed pagerank for documents. I want >> to update pagerank for indexed document and sort solr search result >> with pagerank. > > Your question is not entirely clear: What is "pagerank" in this case? > A custom score that you can compute at indexing time, and by > which you want to order retrieved results? If so, just add a pagerank > field to your Solr records, ignore Solr's order, and instead sort results > by that field. > >> I did some research and found that index time boost can be used, but >> I don't know how to use it. Can I boost document at index time with >> DIH ? Can anybody help me in this regard ? Can I use Solr relevancy >> score with PageRanking score to sort search result? Any suggestions >> are welcome > > This is confused: Do you want your "pagerank" as the sole basis for > the ranking of returned results, or do you want it to be one of multiple > (weighted) criteria? Maybe you should read > http://wiki.apache.org/solr/SolrRelevancyFAQ > > Regards, > Gora