setText

public final void setText(String value)

Document text for the text branch. When non-empty, this text is scored directly. When empty (default), the text is derived from the document by the extraction pipeline at the tier set by (e.g. AdaptiveOcr for fast OCR, Icr for local layout models, VlmEnhancedIcr for VLM-enhanced) — multi-page documents are extracted in full. Set to 0 to skip the text branch (and its extraction) entirely.

Parameters

value

The value to set for the Text property.