Class SearchReq
- java.lang.Object
-
- io.milvus.v2.service.vector.request.SearchReq
-
public class SearchReq extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchReq.SearchReqBuilder
-
Method Summary
-
-
-
Method Detail
-
getDatabaseName
public String getDatabaseName()
-
setDatabaseName
public void setDatabaseName(String databaseName)
-
getCollectionName
public String getCollectionName()
-
setCollectionName
public void setCollectionName(String collectionName)
-
getAnnsField
public String getAnnsField()
-
setAnnsField
public void setAnnsField(String annsField)
-
getMetricType
public IndexParam.MetricType getMetricType()
-
setMetricType
public void setMetricType(IndexParam.MetricType metricType)
-
getTopK
@Deprecated public int getTopK()
Deprecated.
-
setTopK
@Deprecated public void setTopK(int topK)
Deprecated.
-
getFilter
public String getFilter()
-
setFilter
public void setFilter(String filter)
-
getData
public List<BaseVector> getData()
-
setData
public void setData(List<BaseVector> data)
-
getOffset
public long getOffset()
-
setOffset
public void setOffset(long offset)
-
getLimit
public long getLimit()
-
setLimit
public void setLimit(long limit)
-
getRoundDecimal
public int getRoundDecimal()
-
setRoundDecimal
public void setRoundDecimal(int roundDecimal)
-
getGuaranteeTimestamp
public long getGuaranteeTimestamp()
-
setGuaranteeTimestamp
public void setGuaranteeTimestamp(long guaranteeTimestamp)
-
getGracefulTime
public Long getGracefulTime()
-
setGracefulTime
public void setGracefulTime(Long gracefulTime)
-
getConsistencyLevel
public ConsistencyLevel getConsistencyLevel()
-
setConsistencyLevel
public void setConsistencyLevel(ConsistencyLevel consistencyLevel)
-
isIgnoreGrowing
public boolean isIgnoreGrowing()
-
setIgnoreGrowing
public void setIgnoreGrowing(boolean ignoreGrowing)
-
getTimezone
public String getTimezone()
-
getGroupByFieldName
public String getGroupByFieldName()
-
setGroupByFieldName
public void setGroupByFieldName(String groupByFieldName)
-
getGroupSize
public Integer getGroupSize()
-
setGroupSize
public void setGroupSize(Integer groupSize)
-
getStrictGroupSize
public Boolean getStrictGroupSize()
-
setStrictGroupSize
public void setStrictGroupSize(Boolean strictGroupSize)
-
getRanker
public CreateCollectionReq.Function getRanker()
-
setRanker
public void setRanker(CreateCollectionReq.Function ranker)
-
getFunctionScore
public FunctionScore getFunctionScore()
-
setFunctionScore
public void setFunctionScore(FunctionScore functionScore)
-
setFilterTemplateValues
public void setFilterTemplateValues(Map<String,Object> filterTemplateValues)
-
getHighlighter
public Highlighter getHighlighter()
-
builder
public static SearchReq.SearchReqBuilder builder()
-
-