SearchMode

public enum 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.

Entries

Link copied to clipboard

High floor — only confident matches. Best for "does the document say X?".

Link copied to clipboard

Default floor — filters common-word-only noise, keeps genuine matches.

Link copied to clipboard

No floor — always return the top results, however weak. Recall-first.

Functions

Link copied to clipboard
public static SearchMode valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<SearchMode> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.