Package com.hazelcast.vector
Interface SearchOptions
Vector search options
- Since:
- 5.5
- 
Method SummaryModifier and TypeMethodDescriptionstatic SearchOptionsBuilderbuilder()getHints()intgetLimit()booleanbooleanstatic SearchOptionsof(int limit, boolean includeValue, boolean includeVectors) 
- 
Method Details- 
isIncludeValueboolean isIncludeValue()- Returns:
- trueif search results should include the user-supplied value or- falseif only keys should be returned.
 
- 
isIncludeVectorsboolean isIncludeVectors()- Returns:
- trueif search results should include the vectors associated with each search result,- falseotherwise.
 
- 
getLimitint getLimit()- Returns:
- the number of search results to return
 
- 
getHints- Returns:
- hints for search execution
 
- 
toBuilderSearchOptionsBuilder toBuilder()- Returns:
- SearchOptionsBuilder with the same settings
- Since:
- 5.6
 
- 
builder- Returns:
- builder of SearchOptions
 
- 
of
 
-