Re: lucene Scorers

2004-11-23 Thread Ken McCracken
Hi, Thanks the pointers in your replies. Would it be possible to include some sort of accrual scorer interface somewhere in the Lucene Query APIs? This could be passed into a query similar to MaxDisjunctionQuery; and combine the sum, max, tieBreaker, etc., according to the implementor's discreti

setting Similarity at search time

2004-11-15 Thread Ken McCracken
Hi, Is there a way to set the Similarity at search(...) time, rather than just setting it on the (Index)Searcher object itself? I'd like to be able to specify different similarities in different threads searching concurrently, using the same IndexSearcher instance. In my use case, the choice of

lucene Scorers

2004-11-12 Thread Ken McCracken
Hi, I am looking at the Similarity class overview, and wondering if I can replace the SUM operator with a MAX operator, or any other operator (across the terms in a query). For example, if I search for "car OR automobile", a BooleanScorer is used to add the values from each subexpression together

Re: Similarity score computation documentation

2004-09-15 Thread Ken McCracken
fix > would be to add another idf(t) clause at the end of the formula, next to > queryNorm(q), so this is clear. Does that sound right to you? > > Doug > > > > Ken McCracken wrote: > > Hi, > > > > I was looking through the score computati

Similarity score computation documentation

2004-09-13 Thread Ken McCracken
Hi, I was looking through the score computation when running search, and think there may be a discrepancy between what is _documented_ in the org.apache.lucene.search.Similarity class overview Javadocs, and what actually occurs in the code. I believe the problem is only with the documentation. I