Re: Filter question

2006-12-09 Thread Chris Hostetter
: That works fine if there are some criteria in filterQuery and query. : But sometimes, the bean I'm passing in will not pass any criteria into : the filterQuery part. If that's the case, cwf looks like this: : CachingWrapperFilter(QueryFilter()) ... : will result in no results. If there

Re: de-boosting fields

2006-12-09 Thread Daniel Naber
On Saturday 09 December 2006 02:25, Scott Smith wrote: > What is the best way to do this?  Is changing the boost the right > answer?  Can a field's boost be zero? Yes, just use: term1 term2 category1^0 category2^0. Erick's Filter idea is also useful. Regards Daniel -- http://www.danielnaber.

Re: Custom Filter implementations - necessary to check if doc is deleted ?

2006-12-09 Thread Øyvind Stegard
2006-12-08 fre 15:41 -0800, Chris Hostetter: > : Is it necessary to check the deleted-status of documents that the filter > : includes (and never actually include deleted documents), or is this done > ... > : I'm trying to implementent an inverted version of a filter, simply by > : flipping a

Questions about Lucene scoring (was: Lucene 1.2 - scoring formula needed)

2006-12-09 Thread TheRanger
Hello Lucene users, in the past, I asked a number of times about the scoring that was applied for Lucene 1.2 (which might also still be valid in current Lucene versions). At that time I was interested only based on curiosity, but now I would need it in order to write proper documentation. At t

RE: de-boosting fields

2006-12-09 Thread Scott Smith
I've googled for custom scorers and haven't found anything. If anyone can point me to some posts, that would be appreciated. Sounds like setting the boost to zero works (see Daniel Naber's post), but that seems like overkill. I'll take a look at filters as well. __

Re: de-boosting fields

2006-12-09 Thread Erick Erickson
I meant search this mail archive Erick On 12/9/06, Scott Smith <[EMAIL PROTECTED]> wrote: I've googled for custom scorers and haven't found anything. If anyone can point me to some posts, that would be appreciated. Sounds like setting the boost to zero works (see Daniel Naber's post), bu

RE: de-boosting fields

2006-12-09 Thread Chris Hostetter
: I've googled for custom scorers and haven't found anything. If anyone : can point me to some posts, that would be appreciated. you really don't need a custom Scorer for what you are describing. custom Scorers are used with Custom Query classes, and there's relaly nothing custom about hte quer