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
Beispiel #1
0
 public override long Cost()
 {
     return(DocIdSetIterator.Cost());
 }
Beispiel #2
0
 public override long Cost()
 {
     return(Math.Min(Primary.Cost(), Secondary.Cost()));
 }