Done. Please check - http://wiki.apache.org/solr/FunctionQuery
and send me your comments (or improve the wiki ) Right now its more of a aggregation of all relevant information. I hope people will be able to add notes like what values to use, pitfalls to avoid, behaviour in special cases as well. For example, I dont know how these functions deal with missing values. -mekin On 5/15/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: The function query field is - : <str name="bf"> : recip(popularityRank, 1, 1000, : 1000)^0.5recip(rord(creationDate),1,1000,1000)^ : 0.3 : </str> off the top of my head, i'd suggest you: 1) verify there is some whitespace between the boost of the popularity recip function and the date recip function 2) eliminate the space inside the recip functions 3) verify that there isno psace between eitehr recp function and it's boost ...and see if that works... <str name="bf"> recip(popularityRank,1,1000,1000)^0.5 recip(rord(creationDate),1,1000,1000)^0.3 </str> -Hoss
-- My company - http://ugenie.com My Blog - http://mekin.livejournal.com/ My linkedin URL - http://www.linkedin.com/in/mekin