: Where can I see the example using HitCollector ?
if you mean examples of writing a HitCollector, then the javadocs for the
HitCollector class are a good place to start. As is the source code for
TopDocCollector and and TopFieldDocCollector.
If you mean an example of using a HitCollector when you search...
Searcher s = ...;
Query q = ...;
MyHitCollectorSubClass h = ...;
s.search(q, h);
// now pull whatever data out of h that you want.
LIA Chapter 6.2 ha a lot of good info on HitCollectors as well.
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]