Package io.milvus.param.dml
Class SearchParam
- java.lang.Object
-
- io.milvus.param.dml.SearchParam
-
public class SearchParam extends Object
Parameters forsearchinterface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchParam.BuilderBuilder forSearchParamclass.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCollectionName()ConsistencyLevelEnumgetConsistencyLevel()StringgetDatabaseName()StringgetExpr()LonggetGracefulTime()StringgetGroupByFieldName()IntegergetGroupSize()longgetGuaranteeTimestamp()StringgetMetricType()LonggetNQ()List<String>getOutFields()StringgetParams()List<String>getPartitionNames()PlaceholderTypegetPlType()intgetRoundDecimal()BooleangetStrictGroupSize()LonggetTopK()longgetTravelTimestamp()StringgetVectorFieldName()List<?>getVectors()booleanisIgnoreGrowing()static SearchParam.BuildernewBuilder()voidsetDatabaseName(String databaseName)StringtoString()because large number of vectors will waste time in toString() method.static voidverifyVectors(List<?> vectors)
-
-
-
Method Detail
-
getDatabaseName
public String getDatabaseName()
-
getCollectionName
public String getCollectionName()
-
getMetricType
public String getMetricType()
-
getVectorFieldName
public String getVectorFieldName()
-
getTopK
public Long getTopK()
-
getExpr
public String getExpr()
-
getVectors
public List<?> getVectors()
-
getNQ
public Long getNQ()
-
getRoundDecimal
public int getRoundDecimal()
-
getParams
public String getParams()
-
getTravelTimestamp
public long getTravelTimestamp()
-
getGuaranteeTimestamp
public long getGuaranteeTimestamp()
-
getGracefulTime
public Long getGracefulTime()
-
getConsistencyLevel
public ConsistencyLevelEnum getConsistencyLevel()
-
isIgnoreGrowing
public boolean isIgnoreGrowing()
-
getGroupByFieldName
public String getGroupByFieldName()
-
getGroupSize
public Integer getGroupSize()
-
getStrictGroupSize
public Boolean getStrictGroupSize()
-
getPlType
public PlaceholderType getPlType()
-
setDatabaseName
public void setDatabaseName(String databaseName)
-
newBuilder
public static SearchParam.Builder newBuilder()
-
verifyVectors
public static void verifyVectors(List<?> vectors)
-
-