We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2903b20 commit c2e0c9aCopy full SHA for c2e0c9a
spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/opensearch.adoc
@@ -77,7 +77,7 @@ List<Document> documents = List.of(
77
vectorStore.add(documents);
78
79
// Retrieve documents similar to a query
80
-List<Document> results = vectorStore.similaritySearch(SearchRequest.build().query("Spring").topK(5).build());
+List<Document> results = vectorStore.similaritySearch(SearchRequest.builder().query("Spring").topK(5).build());
81
----
82
83
=== Configuration Properties
0 commit comments