Re: Changing the Scoring api

2006-09-11 Thread Chris Hostetter
: I want to override the default scoring when it comes to queries : containing the OR operator. this mesages seems to be an exact repost of your question from last friday ... was theresomething wrong with teh suggestions i included in my reply to it? http://www.nabble.com/Changing-the-Scoring-ap

Re: Changing the Scoring api for OR parameters

2006-09-08 Thread Chris Hostetter
if you are already seting the document boost based on the "date" of hte Document, then the next thing you should familiarize yourself with is Similarity.coord function. It's specific purpose is for dealing with Queries which "aggregate" other queries (like a BooleanQuery does with it's clauses) t