Reference documentation and code samples for the Cloud Firestore V1 Client class SearchGeoSpec.
The specification for how to build a geo search index for a field.
Generated from protobuf message google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchGeoSpec
Namespace
Google \ Cloud \ Firestore \ Admin \ V1 \ Index \ IndexField \ SearchConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ geo_json_indexing_disabled |
bool
Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed. |
getGeoJsonIndexingDisabled
Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setGeoJsonIndexingDisabled
Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|