Package io.milvus.param.dml
Class AnnSearchParam
- java.lang.Object
-
- io.milvus.param.dml.AnnSearchParam
-
public class AnnSearchParam extends Object
Parameters forhybridSearchinterface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnSearchParam.BuilderBuilder forAnnSearchParamclass.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpr()StringgetMetricType()LonggetNQ()StringgetParams()PlaceholderTypegetPlType()LonggetTopK()StringgetVectorFieldName()List<?>getVectors()static AnnSearchParam.BuildernewBuilder()StringtoString()because large number of vectors will waste time in toString() method.
-
-
-
Method Detail
-
newBuilder
public static AnnSearchParam.Builder newBuilder()
-
getMetricType
public String getMetricType()
-
getVectorFieldName
public String getVectorFieldName()
-
getTopK
public Long getTopK()
-
getExpr
public String getExpr()
-
getVectors
public List<?> getVectors()
-
getNQ
public Long getNQ()
-
getParams
public String getParams()
-
getPlType
public PlaceholderType getPlType()
-
-