Package io.milvus.client
Class Index.Builder
- java.lang.Object
-
- io.milvus.client.Index.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Indexbuild()Index.BuilderwithIndexType(IndexType indexType)Optional.Index.BuilderwithNList(int nList)Optional.
-
-
-
Method Detail
-
withIndexType
public Index.Builder withIndexType(@Nonnull IndexType indexType)
Optional. Default toIndexType.FLAT- Parameters:
indexType- aIndexTypeobject- Returns:
Builder
-
withNList
public Index.Builder withNList(int nList)
Optional. Default to 16384.- Parameters:
nList- nList of the index- Returns:
Builder
-
build
public Index build()
-
-