This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/python/enums/search-mode.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. SearchMode

How aggressively a text search filters weak matches. The mode resolves to a BM-25 relevance floor: hits below it are dropped, so the caller gets a real answer or nothing.

from nutrient_sdk import SearchMode

Values

NameValueDescription
SearchMode.STRICT0High floor — only confident matches. Best for “does the document say X?”.
SearchMode.BALANCED1Default floor — filters common-word-only noise, keeps genuine matches.
SearchMode.LENIENT2No floor — always return the top results, however weak. Recall-first.

Usage Example

from nutrient_sdk import SearchMode
# Access enum values
value = SearchMode.STRICT
print(f"Value: {value}") # Output: Value: SearchMode.STRICT
print(f"Integer value: {value.value}") # Output: Integer value: 0