BitSetProducer (Lucene 10.5.0 join API)
Description: declaration: package: org.apache.lucene.search.join, interface: BitSetProducer

Package org.apache.lucene.search.join

# Interface BitSetProducer

All Known Implementing Classes:
  `QueryBitSetProducer`

public interface BitSetProducer
A producer of `BitSet`s per segment.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BitSet`
  `getBitSet(LeafReaderContext context)`
  Produce a `BitSet` matching the expected documents on the given segment.

- ## Method Details

  - ### getBitSet

    BitSet getBitSet(LeafReaderContext context) throws IOException
    Produce a `BitSet` matching the expected documents on the given segment. This may return `null` if no documents match.
    Throws:
      `IOException`