Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SearchSort

Provides the ability to specify sorting for a search query.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • data: any

    Returns SearchSort

Properties

Protected _data

_data: any

Methods

toJSON

  • toJSON(): any
  • Returns any

Static field

  • Parameters

    • field: string

    Returns FieldSearchSort

Static geoDistance

  • Parameters

    • field: string
    • lat: number
    • lon: number

    Returns GeoDistanceSearchSort

Static id

Static score

Generated using TypeDoc