CollectionSourceOptions

The options of a collection source. On Apple platforms only the forced index (CollectionHints.withForceIndex) is supported; with any other option, executing the pipeline fails with UnsupportedOperationException.

Constructors

Link copied to clipboard
constructor()

No options.

Functions

Link copied to clipboard

A copy with the option key set to a reference to the field value. The JS SDK sends a field reference only as a nearest-neighbour search's distance field or an unnest's index field; on JS and wasmJs any other fails the execution.

A copy with the option key set to the options value.

A copy with the option key set to value.

Link copied to clipboard

A copy with the index hints added.