You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We create a `SearchRequest`, which can contain a traditional search query `SearchQuery` and/or the new `VectorSearch`.
111
+
We create a `SearchRequest`, which can contain a traditional s Search query `SearchQuery` and/or the new `VectorSearch`.
112
112
Here we are just using the latter.
113
113
114
114
The `VectorSearch` allows us to perform one or more `VectorQuery` s.
@@ -117,7 +117,7 @@ The `VectorQuery` itself takes the name of the document field that contains embe
117
117
118
118
(Note that Couchbase itself is not involved in generating the vectors, and these will come from an external source such as an embeddings API.)
119
119
120
-
Finally we execute the `SearchRequest` against the search index "travel-sample-index", which has previously been setup to vector index the "vector_field" field.
120
+
Finally we execute the `SearchRequest` against the Search index "travel-sample-index", which has previously been setup to vector index the "vector_field" field.
121
121
122
122
This happens to be a scoped index so we are using `scope.search()`.
123
123
If it was a global index we would use `cluster.search()` instead - see <<Scoped vs Global Indexes>>.
@@ -177,7 +177,7 @@ How the results are combined (ANDed or ORed) can be controlled with `vectorSearc
177
177
178
178
==== Combining Search and Vector Queries
179
179
180
-
You can combine a traditional search query with vector queries:
180
+
You can combine a traditional Search query with vector queries:
181
181
182
182
[source,java]
183
183
----
@@ -203,7 +203,7 @@ See a fuller list, with Vector properties, in the xref:cloud:search:search-reque
203
203
204
204
////
205
205
==== Search Queries
206
-
And note that traditional search queries, without vector search, are also supported with the new `cluster.search()` / `scope.search()` APIs:
206
+
And note that traditional Search queries, without Vector Search, are also supported with the new `cluster.search()` / `scope.search()` APIs:
0 commit comments