Package com.logicaldoc.core.searchengine
Class Hits
- java.lang.Object
-
- com.logicaldoc.core.searchengine.Hits
-
- All Implemented Interfaces:
Serializable,Iterator<Hit>
public class Hits extends Object implements Iterator<Hit>, Serializable
Iterator on the collection of hits, plus some statistical informations about the query. Attention: each hit's data is lazy loaded.- Since:
- 6.5
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCount()longgetElapsedTime()longgetEstimatedCount()booleanhasNext()Hitnext()voidremove()static HittoHit(org.apache.solr.common.SolrDocument sdoc)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
getEstimatedCount
public long getEstimatedCount()
-
getElapsedTime
public long getElapsedTime()
-
getCount
public long getCount()
-
toHit
public static Hit toHit(org.apache.solr.common.SolrDocument sdoc)
-
-