org.apache.lucene.search

Class HitCollector


public abstract class HitCollector
extends java.lang.Object

Lower-level search API.

Version:
$Id: HitCollector.java,v 1.6 2004/03/29 22:48:03 cutting Exp $

See Also:
Searcher.search(Query,HitCollector)

Method Summary

void
collect(int doc, float score)
Called once for every non-zero scoring document, with the document number and its score.

Method Details

collect

public void collect(int doc,
                    float score)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.