lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: More about function queries
Date Mon, 07 May 2007 23:31:56 GMT

: Just wanted to check if there is more documentation about function queries
: besides  the java doc at

unfortunately no, but please feel free to add some to the wiki or submit a
Jira path to improve the javadocs :)

: Starting with what the fields for all the functions mean:
:  eg. recip(myfield,1,2,3)

they corrispond directly to the constructor args for the corrisponding
ValueSource implementations...

: I am working towards getting to a function which combines a document's
: popularity, recency & relevance.

a reciprical function wrapping a reverse ordinal function tends to work
well for rewarding recency (allthough keep in mind it rewards relative
ordering of docs, not strict date base recency because it's using hte
ordinal value)

popularity can be incorporated with a simple linera function on your
numeric field (assuming you store popularity as a "bigger==better" number.


View raw message