| Package | Description |
|---|---|
| org.springframework.data.mongodb.core.index |
Support for MongoDB document indexing.
|
| Modifier and Type | Method and Description |
|---|---|
static IndexField |
IndexField.create(String key,
Sort.Direction order) |
static IndexField |
IndexField.geo(String key)
Creates a geo
IndexField for the given key. |
static IndexField |
IndexField.text(String key,
Float weight)
Creates a text
IndexField for the given key. |
| Modifier and Type | Method and Description |
|---|---|
List<IndexField> |
IndexInfo.getIndexFields()
Returns the individual index fields of the index.
|
| Constructor and Description |
|---|
IndexInfo(List<IndexField> indexFields,
String name,
boolean unique,
boolean sparse,
String language) |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.