TermFilteredPresearcher.DocumentQueryBuilder (Lucene 10.5.0 monitor API)
Description: declaration: package: org.apache.lucene.monitor, class: TermFilteredPresearcher, interface: DocumentQueryBuilder

Package org.apache.lucene.monitor

# Interface TermFilteredPresearcher.DocumentQueryBuilder

Enclosing class:
  `TermFilteredPresearcher`

protected static interface TermFilteredPresearcher.DocumentQueryBuilder
Constructs a document disjunction from a set of terms

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addTerm(String field, BytesRef term)`
  Add a term from this document
  `Query`
  `build()`

- ## Method Details

  - ### addTerm

    void addTerm(String field, BytesRef term) throws IOException
    Add a term from this document
    Throws:
      `IOException`

  - ### build

    Query build()
    Returns:
      the final Query