Skip to content

Commit f270cc8

Browse files
Upper case!
1 parent 9123a79 commit f270cc8

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

modules/howtos/pages/full-text-searching-with-sdk.adoc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
= Search
2-
:description: You can use the Search Service to create queryable search indexes in Couchbase Server.
2+
:description: You can use the Search Service to create queryable Search indexes in Couchbase Server.
33
:page-toclevels: 2
44
:page-aliases: ROOT:search-query.adoc, ROOT:full-text-searching-with-sdk.adoc
55

66
[abstract]
77
{description}
88

9-
The Search Service allows you to create, manage and query search indexes on JSON documents stored in Couchbase buckets.
9+
The Search Service allows you to create, manage and query Search indexes on JSON documents stored in Couchbase buckets.
1010
It uses natural language processing for indexing and querying documents, provides relevance scoring on the results of your queries and has fast indexes for querying a wide range of possible text searches.
1111

1212
Some of the supported query-types include simple queries like Match and Term queries, range queries like Date Range and Numeric Range and compound queries for conjunctions, disjunctions and/or boolean queries.
@@ -20,10 +20,10 @@ After familiarizing yourself with how to create and query a Search index in the
2020
There are two APIs for querying search: `cluster.searchQuery()`, and `cluster.search()`.
2121
Both are also available at the Scope level.
2222

23-
The former API supports search queries (`SearchQuery`), while the latter additionally supports the `VectorSearch` added in 7.6.
23+
The former API supports Search queries (`SearchQuery`), while the latter additionally supports the `VectorSearch` added in 7.6.
2424
Most of this documentation will focus on the former API, as the latter is in @Stability.Volatile status.
2525

26-
We will perform a search query here - see the xref:vector-searching-with-sdk.adoc[Vector Search] docs for examples of Vector and xref:vector-searching-with-sdk.adoc#combining-fts-and-vector-queries[combining Vector and Search queries].
26+
We will perform a Search query here -- see the xref:vector-searching-with-sdk.adoc[Vector Search] docs for examples of Vector and xref:vector-searching-with-sdk.adoc#combining-fts-and-vector-queries[combining Vector and Search queries].
2727

2828
[source,java]
2929
----
@@ -99,7 +99,7 @@ The `SearchRow` contains the following methods:
9999
.SearchRow
100100
[options="header"]
101101
|====
102-
| `index()` | The name of the search index that gave this result.
102+
| `index()` | The name of the Search index that gave this result.
103103
| `id()` | The id of the matching document.
104104
| `score()` | The score of this hit.
105105
| `explanation()` | If enabled provides an explanation in JSON form.
@@ -137,7 +137,7 @@ include::devguide:example$java/Search.java[tag=vector1,indent=0]
137137
----
138138
139139
Let's break this down.
140-
We create a `SearchRequest`, which can contain a traditional search query `SearchQuery` and/or the new `VectorSearch`.
140+
We create a `SearchRequest`, which can contain a traditional Search query `SearchQuery` and/or the new `VectorSearch`.
141141
Here we are just using the latter.
142142
143143
The `VectorSearch` allows us to perform one or more `VectorQuery` s.
@@ -146,7 +146,7 @@ The `VectorQuery` itself takes the name of the document field that contains embe
146146
147147
(Note that Couchbase itself is not involved in generating the vectors, and these will come from an external source such as an embeddings API.)
148148
149-
Finally we execute the `SearchRequest` against the search index "travel-sample-index", which has previously been setup to vector index the "vector_field" field.
149+
Finally we execute the `SearchRequest` against the Search index "travel-sample-index", which has previously been setup to vector index the "vector_field" field.
150150
151151
This happens to be a scoped index so we are using `scope.search()`.
152152
If it was a global index we would use `cluster.search()` instead - see <<Scoped vs Global Indexes>>.
@@ -164,7 +164,8 @@ include::devguide:example$java/Search.java[tag=vector3,indent=0]
164164
How the results are combined (ANDed or ORed) can be controlled with `vectorSearchOptions().vectorQueryCombination()`.
165165
166166
==== Combining Search and Vector Queries
167-
You can combine a traditional search query with vector queries:
167+
168+
You can combine a traditional Search query with vector queries:
168169
169170
[source,java]
170171
----
@@ -175,7 +176,7 @@ How the results are combined (ANDed or ORed) can be controlled with `vectorSearc
175176
////
176177

177178
// ==== Search queries
178-
// And note that traditional search queries, without vector search, are also supported with the new `cluster.search()` / `scope.search()` APIs:
179+
// And note that traditional Search queries, without Vector Search, are also supported with the new `cluster.search()` / `scope.search()` APIs:
179180

180181
[source,java]
181182
----

0 commit comments

Comments
 (0)