Skip to content

Commit 1f26a9a

Browse files
authored
minor xref fixes for fts (#2493)
* fix syntax error in xref * fix xref to fts-cluster-options.adoc * resolve dead fts link to bleveMaxResultWindow update dead reference from xref:fts:fts-response-object-schema.adoc#request[maximum number of full text search results] to xref:fts:fts-advanced-settings-bleveMaxResultWindow.adoc[bleveMaxResultWindow] * informational update As per Abhinav corrections
1 parent c4eb1e2 commit 1f26a9a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

modules/ROOT/nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
*** xref:fts:fts-architecture-scatter-gather.adoc[Scatter Gather]
244244
*** xref:fts:fts-architecture-ports-used.adoc[Ports Used By FTS]
245245
*** xref:fts:fts-rebalance-failover.adoc[Rebalance/Failover]
246-
** xref:fts:fts-cluster-operations.adoc[Cluster Level Options]
246+
** xref:fts:fts-cluster-options.adoc[Cluster Level Options]
247247
*** xref:fts:fts-advanced-settings-bleveMaxResultWindow.adoc[bleveMaxResultWindow]
248248
*** xref:fts:fts-advanced-settings-bleveMaxClauseCount.adoc[bleveMaxClauseCount]
249249
*** xref:fts:fts-advanced-settings-maxFeedsPerDCPAgent.adoc[maxFeedsPerDCPAgent]

modules/fts/pages/fts-supported-queries-geo-point-distance.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Creating a Query: Radius-Based
22

33
This section and those following, provide examples of the query-bodies required to make geospatial queries with the Couchbase REST API.
4-
Note that more detailed information on performing queries with the Couchbase REST API can be found in xref:fts-fts-searching-with-curl-http-requests.adoc[Searching with the REST API]; which shows how to use the full `curl` command and how to incorporate query-bodies into it.
4+
Note that more detailed information on performing queries with the Couchbase REST API can be found in xref:fts-searching-with-curl-http-requests.adoc[Searching with the REST API]; which shows how to use the full `curl` command and how to incorporate query-bodies into it.
55

66
The following query-body specifies a longitude of `-2.235143` and a latitude of `53.482358`.
77
The target-field `geo` is specified, as is a `distance` of `100` miles: this is the radius within which target-locations must reside for their documents to be returned.

modules/n1ql/pages/n1ql-language-reference/searchfun.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ For more details, refer to xref:fts:fts-sorting.adoc[Sorting Query Results].
142142

143143
[NOTE]
144144
====
145-
When specifying a complete full text search request with the N1QL SEARCH() function, if the value of the `size` parameter is greater than the xref:fts:fts-response-object-schema.adoc#request[maximum number of full text search results], the query ignores the `size` parameter and returns all matching results.
146-
147-
This is different to the behavior of a complete full text search request in the Search service, where the query returns an error if the value of the `size` parameter is greater than the maximum number of full text search results.
145+
* If size/from (pagination) settings aren't set, the search index will "stream" all qualifying results to N1QL which can perform further filtering.
146+
* If `size/limit`, `from/offset` are set within the search request within the SEARCH function, FTS handles the pagination.
147+
* N1QL can hand down LIMIT/OFFSET settings to FTS. If this `limit+offset <= bleveMaxResultWindow` - then the FTS index is deemed pageable and N1QL hands down these settings to FTS. If not, then FTS will stream results to N1QL and N1QL will be responsible for pagination and ordering.
148+
* The default value for the cluster wide xref:fts:fts-advanced-settings-bleveMaxResultWindow.adoc[bleveMaxResultWindow] setting is 10000.
148149
====
149150
|===
150151
+

0 commit comments

Comments
 (0)