Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GeoHaystackSearchOptions

Hierarchy

  • GeoHaystackSearchOptions

Index

Properties

Optional limit

limit: number

Max number of results to return.

Optional maxDistance

maxDistance: number

Include results up to maxDistance from the point.

Optional readPreference

readPreference: ReadPreference | string

The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).

Optional search

search: Object

Filter the results by a query.

Generated using TypeDoc