Class TotalHitCountCollector
Just counts the total number of hits.
Inheritance
System.Object
    TotalHitCountCollector
  Implements
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class TotalHitCountCollector : ICollector
  Properties
| Improve this Doc View SourceAcceptsDocsOutOfOrder
Declaration
public virtual bool AcceptsDocsOutOfOrder { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
TotalHits
Returns how many hits matched the search.
Declaration
public virtual int TotalHits { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceCollect(Int32)
Declaration
public virtual void Collect(int doc)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | doc | 
SetNextReader(AtomicReaderContext)
Declaration
public virtual void SetNextReader(AtomicReaderContext context)
  Parameters
| Type | Name | Description | 
|---|---|---|
| AtomicReaderContext | context | 
SetScorer(Scorer)
Declaration
public virtual void SetScorer(Scorer scorer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Scorer | scorer |