Package org.redisson.api.search.index
Interface FieldIndex
- All Known Subinterfaces:
FlatVectorOptionalArgs,GeoIndex,HNSWVectorOptionalArgs,NumericIndex,TagIndex,TextIndex
- All Known Implementing Classes:
FlatVectorIndexParams,GeoIndexParams,HNSWVectorIndexParams,NumericIndexParams,TagIndexParams,TextIndexParams
public interface FieldIndex
Field index for
RSearch.createIndex(String, IndexOptions, FieldIndex...) method- Author:
- Nikita Koksharov
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic FlatVectorIndexflatVector(String fieldName) Returns vector field index which uses FLAT indexing methodstatic GeoIndexReturns geo field indexstatic HNSWVectorIndexhnswVector(String fieldName) Returns vector field index which uses HNSW indexing methodstatic NumericIndexReturns numeric field indexstatic TagIndexReturns tag field indexstatic TextIndexReturns text field index
-
Method Details
-
numeric
Returns numeric field index- Parameters:
fieldName- field name- Returns:
- options object
-
tag
Returns tag field index- Parameters:
fieldName- field name- Returns:
- options object
-
text
Returns text field index- Parameters:
fieldName- field name- Returns:
- options object
-
flatVector
Returns vector field index which uses FLAT indexing method- Parameters:
fieldName- field name- Returns:
- options object
-
hnswVector
Returns vector field index which uses HNSW indexing method- Parameters:
fieldName- field name- Returns:
- options object
-
geo
Returns geo field index- Parameters:
fieldName- field name- Returns:
- options object
-