public interface IndexType
You can call IndexForm.setIndexType(String)
to specify the index type for an index attribute.
SystemCapability.Data#DATA_SEARCH| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
ANALYZED |
The index field is indexed, and the field value is analyzed.
|
static String |
ANALYZED_NO_NORMS |
The index field is indexed, the field value is analyzed, and
Norms is ignored. |
static String |
DOUBLE |
The index field is indexed as a double value, which can be searched by specifying a range.
|
static String |
FLOAT |
The index field is indexed as a float value, which can be searched by specifying a range.
|
static String |
INTEGER |
The index field is indexed as an integer value, which can be searched by specifying a range and sorted.
|
static String |
LONG |
The index field is indexed as a long value, which can be searched by specifying a range and sorted.
|
static String |
NO |
The index field is not indexed.
|
static String |
NO_ANALYZED |
The index field is indexed, and the field value is not analyzed.
|
static String |
NO_ANALYZED_NO_NORMS |
The index field is indexed, the field value is not analyzed, and
Norms is ignored. |
static String |
SORTED |
The index field is indexed, and the field value is analyzed and can be sorted and grouped.
|
static String |
SORTED_NO_ANALYZED |
The index field is indexed, and the field value is not analyzed and can be sorted and grouped.
|
static final String ANALYZED
static final String ANALYZED_NO_NORMS
Norms is ignored.static final String DOUBLE
static final String FLOAT
static final String INTEGER
static final String LONG
static final String NO_ANALYZED
static final String NO_ANALYZED_NO_NORMS
Norms is ignored.static final String SORTED