Class SearchResp.SearchResult
- java.lang.Object
-
- io.milvus.v2.service.vector.response.SearchResp.SearchResult
-
- Enclosing class:
- SearchResp
public static class SearchResp.SearchResult extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchResp.SearchResult.SearchResultBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHighlightResult(String fieldName, SearchResp.HighlightResult highlightResult)static SearchResp.SearchResult.SearchResultBuilderbuilder()LonggetElementOffset()Map<String,Object>getEntity()SearchResp.HighlightResultgetHighlightResult(String fieldName)Map<String,SearchResp.HighlightResult>getHighlightResults()ObjectgetId()StringgetPrimaryKey()FloatgetScore()voidsetElementOffset(Long elementOffset)voidsetEntity(Map<String,Object> entity)voidsetId(Object id)voidsetPrimaryKey(String primaryKey)voidsetScore(Float score)StringtoString()
-
-
-
Method Detail
-
builder
public static SearchResp.SearchResult.SearchResultBuilder builder()
-
getScore
public Float getScore()
-
setScore
public void setScore(Float score)
-
getId
public Object getId()
-
setId
public void setId(Object id)
-
getPrimaryKey
public String getPrimaryKey()
-
setPrimaryKey
public void setPrimaryKey(String primaryKey)
-
getHighlightResults
public Map<String,SearchResp.HighlightResult> getHighlightResults()
-
getHighlightResult
public SearchResp.HighlightResult getHighlightResult(String fieldName)
-
addHighlightResult
public void addHighlightResult(String fieldName, SearchResp.HighlightResult highlightResult)
-
getElementOffset
public Long getElementOffset()
-
setElementOffset
public void setElementOffset(Long elementOffset)
-
-