public class Index extends Object
| Constructor and Description |
|---|
Index() |
Index(String collectionName,
String indexName,
VectorIndexParams vectorIndex,
List<String> scalarIndex,
String stat,
VikingDBService vikingDBService) |
public Index()
public Index(String collectionName, String indexName, VectorIndexParams vectorIndex, List<String> scalarIndex, String stat, VikingDBService vikingDBService)
public void setCpuQuota(Integer cpuQuota)
public void setCpuQuota(Long cpuQuota)
public void setShardCount(Integer shardCount)
public void setShardCount(Long shardCount)
public void setShardPolicy(String shardPolicy)
public List<DataObject> search(SearchParam searchParam) throws Exception
Exceptionpublic List<DataObject> searchById(SearchByIdParam searchByIdParam) throws Exception
Exceptionpublic List<DataObject> searchByVector(SearchByVectorParam searchByVectorParam) throws Exception
Exceptionpublic List<DataObject> searchWithMultiModal(SearchWithMultiModalParam searchWithMultiModalParam) throws Exception
Exceptionpublic List<DataObject> searchByText(SearchByTextParam searchByTextParam) throws Exception
public SearchAggResult searchAgg(SearchAggParam searchAggParam) throws Exception
Exceptionpublic <T> IndexSortResult<T> sort(IndexSortParam<T> indexSortParam) throws Exception
Exceptionpublic <T> DataObject fetchData(T id, FetchDataParam fetchDataParam) throws Exception
Exceptionpublic List<DataObject> fetchData(List<?> ids, FetchDataParam fetchDataParam) throws Exception
ExceptionCopyright © 2025. All rights reserved.