Interface GeoIndex

All Superinterfaces:
FieldIndex
All Known Implementing Classes:
GeoIndexParams

public interface GeoIndex extends FieldIndex
Geo field index options.
Author:
Nikita Koksharov
  • Method Summary

    Modifier and Type
    Method
    Description
    as(String as)
    Defines the attribute associated to the field name
    Defines to not index this attribute
    sortMode(SortMode sortMode)
    Defines sort mode applied to the value of this attribute
  • Method Details

    • as

      GeoIndex as(String as)
      Defines the attribute associated to the field name
      Parameters:
      as - the associated attribute
      Returns:
      options object
    • sortMode

      GeoIndex sortMode(SortMode sortMode)
      Defines sort mode applied to the value of this attribute
      Parameters:
      sortMode - sort mode
      Returns:
      options object
    • noIndex

      GeoIndex noIndex()
      Defines to not index this attribute
      Returns:
      options object