Digg rating with Lucene / Solr?

I use Solr to search.

I have documents that have an integer field "popularity".

I want to rank the results using a combination of the usual full-text search relevance and popularity.

This is similar to a digg search - the result rating is based on the relevance of the search, as well as how many messages there are.

I do not have a special ranking algorithm. But what can you do with solr?

+1
full-text-search reddit lucene solr digg
source share
1 answer

Solr FunctionQuery is exactly what you need:

http://wiki.apache.org/solr/FunctionQuery

+5
source share

All Articles