Fix: Added missing return statement in Couchbase Cluster bean example (#2557)
Signed-off-by: PSriVarshan <psvvarshan@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user