Cost() public abstract method

Returns the estimated cost of this DocIdSetIterator.

this is generally an upper bound of the number of documents this iterator might match, but may be a rough heuristic, hardcoded value, or otherwise completely inaccurate.

public abstract Cost ( ) : long
return long
Ejemplo n.º 1
0
 public override long Cost()
 {
     return(DocIdSetIterator.Cost());
 }
Ejemplo n.º 2
0
 public override long Cost()
 {
     return(Math.Min(Primary.Cost(), Secondary.Cost()));
 }