SearchParams

@Serializable
data class SearchParams(val hnswEf: Int? = null, val exact: Boolean? = null, val indexedOnly: Boolean? = null)

Fine-tuning for a search's accuracy/speed trade-off.

Constructors

Link copied to clipboard
constructor(hnswEf: Int? = null, exact: Boolean? = null, indexedOnly: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "exact")
val exact: Boolean?

Bypass the ANN index and search exactly.

Link copied to clipboard
@SerialName(value = "hnsw_ef")
val hnswEf: Int?

Size of the HNSW candidate list; higher is more accurate but slower.

Link copied to clipboard
@SerialName(value = "indexed_only")
val indexedOnly: Boolean?

Search only already-indexed segments.