Uses of Class
ai.vectros.types.SearchResponse.Builder
Packages that use SearchResponse.Builder
-
Uses of SearchResponse.Builder in ai.vectros.types
Methods in ai.vectros.types that return SearchResponse.BuilderModifier and TypeMethodDescriptionSearchResponse.Builder.additionalProperties(Map<String, Object> additionalProperties) SearchResponse.Builder.additionalProperty(String key, Object value) static SearchResponse.BuilderSearchResponse.builder()True when one of the two search engines was unavailable and these results came from the surviving engine only (for example, keyword search fell back to semantic-only during an outage).SearchResponse.Builder.degradedLegs(List<String> degradedLegs) SearchResponse.Builder.degradedLegs(Optional<List<String>> degradedLegs) Which search engines were unavailable for this response:text(keyword) and/orvector(semantic).SearchResponse.Builder.from(SearchResponse other) SearchResponse.Builder.results(List<SearchResult> results) SearchResponse.Builder.results(Optional<List<SearchResult>> results) The matched content chunks, ordered from most to least relevant.SearchResponse.Builder.searchTimeMs(Long searchTimeMs) SearchResponse.Builder.searchTimeMs(Optional<Long> searchTimeMs) How long the search took to run, in milliseconds.SearchResponse.Builder.totalResults(Integer totalResults) SearchResponse.Builder.totalResults(Optional<Integer> totalResults) The total number of items that matched the query (the size of the matching pool).