DocIdSetBuilder

constructor(maxDoc: Int)

Create a builder that can contain doc IDs between 0 and maxDoc.


constructor(maxDoc: Int, terms: Terms)

Create a DocIdSetBuilder instance that is optimized for accumulating docs that match the given Terms.


constructor(maxDoc: Int, values: PointValues)

Create a DocIdSetBuilder instance that is optimized for accumulating docs that match the given PointValues.