Package com.hazelcast.vector
Interface SearchOptions
Vector search options
- Since:
- 5.5
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchOptionsBuilder
builder()
getHints()
int
getLimit()
boolean
boolean
static SearchOptions
of
(int limit, boolean includeValue, boolean includeVectors)
-
Method Details
-
isIncludeValue
boolean isIncludeValue()- Returns:
true
if search results should include the user-supplied value orfalse
if only keys should be returned.
-
isIncludeVectors
boolean isIncludeVectors()- Returns:
true
if search results should include the vectors associated with each search result,false
otherwise.
-
getLimit
int getLimit()- Returns:
- the number of search results to return
-
getHints
- Returns:
- hints for search execution
-
builder
- Returns:
- builder of
SearchOptions
-
of
-