Fix: Added missing return statement in Couchbase Cluster bean example (#2557)

Signed-off-by: PSriVarshan <psvvarshan@gmail.com>
This commit is contained in:
P.Sri Varshan
2025-03-24 17:13:24 +05:30
committed by GitHub
parent 29002dfc0d
commit d8ef6efa9c

View File

@@ -215,9 +215,9 @@ Read the link:https://docs.couchbase.com/java-sdk/current/hello-world/start-usin
----
@Bean
public Cluster cluster() {
Cluster cluster = Cluster.connect("couchbase://localhost",
"username", "password");
return Cluster.connect("couchbase://localhost", "username", "password");
}
----
and then create the `CouchbaseSearchVectorStore` bean using the builder pattern: