Re: Combining Hits and HitCollector

2006-06-27 Thread Nadav Har'El
On Tue, Jun 27, 2006, Chuck Williams wrote about "Re: Combining Hits and HitCollector": > IMHO, Hits is the worst class in Lucene. It's atrocities are numerous, > including the hardwired "50" and the strange normalization of dividing > all scores by the top sc

Re: Combining Hits and HitCollector

2006-06-27 Thread Chuck Williams
IMHO, Hits is the worst class in Lucene. It's atrocities are numerous, including the hardwired "50" and the strange normalization of dividing all scores by the top score if the top score happens to be greater than 1.0 (which destroys any notion of score values having any absolute meaning, although

Combining Hits and HitCollector

2006-06-27 Thread Nadav Har'El
Hi, Searcher.search(Query) returns a Hits object, useful for the display of top results. Searcher.search(Query, HitCollector) runs a HitsCollector for doing some sort of processing over all results. Unfortunately, there is currently no method to do both at the same time. For some uses, for exampl