Type alias CreateGeoPointAnalyzerOptions

CreateGeoPointAnalyzerOptions: {
    features?: AnalyzerFeature[];
    properties: {
        latitude?: string[];
        longitude?: string[];
        options?: {
            maxLevel?: number;
            minCells?: number;
            minLevel?: number;
        };
    };
    type: "geopoint";
}

Options for creating a GeoPoint Analyzer

Type declaration

  • Optional features?: AnalyzerFeature[]

    Features to enable for this Analyzer.

  • properties: {
        latitude?: string[];
        longitude?: string[];
        options?: {
            maxLevel?: number;
            minCells?: number;
            minLevel?: number;
        };
    }

    Additional properties for the Analyzer.

    • Optional latitude?: string[]

      Attribute paths of the latitude value relative to the field for which the Analyzer is defined in the View.

    • Optional longitude?: string[]

      Attribute paths of the longitude value relative to the field for which the Analyzer is defined in the View.

    • Optional options?: {
          maxLevel?: number;
          minCells?: number;
          minLevel?: number;
      }

      Options for fine-tuning geo queries.

      Default: { maxCells: 20, minLevel: 4, maxLevel: 23 }

      • Optional maxLevel?: number
      • Optional minCells?: number
      • Optional minLevel?: number
  • type: "geopoint"

    Type of the Analyzer.