Skip to content

minor xref fixes for fts #2493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
*** xref:fts:fts-architecture-scatter-gather.adoc[Scatter Gather]
*** xref:fts:fts-architecture-ports-used.adoc[Ports Used By FTS]
*** xref:fts:fts-rebalance-failover.adoc[Rebalance/Failover]
** xref:fts:fts-cluster-operations.adoc[Cluster Level Options]
** xref:fts:fts-cluster-options.adoc[Cluster Level Options]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're doing this, you'll be breaking the link without updating the adoc from fts-cluster-operations to fts-cluster-options

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nevermind, I was on an older fork of release/7.0.

*** xref:fts:fts-advanced-settings-bleveMaxResultWindow.adoc[bleveMaxResultWindow]
*** xref:fts:fts-advanced-settings-bleveMaxClauseCount.adoc[bleveMaxClauseCount]
*** xref:fts:fts-advanced-settings-maxFeedsPerDCPAgent.adoc[maxFeedsPerDCPAgent]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Creating a Query: Radius-Based

This section and those following, provide examples of the query-bodies required to make geospatial queries with the Couchbase REST API.
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.
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.

The following query-body specifies a longitude of `-2.235143` and a latitude of `53.482358`.
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.
Expand Down
7 changes: 4 additions & 3 deletions modules/n1ql/pages/n1ql-language-reference/searchfun.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ For more details, refer to xref:fts:fts-sorting.adoc[Sorting Query Results].

[NOTE]
====
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.

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.
* If size/from (pagination) settings aren't set, the search index will "stream" all qualifying results to N1QL which can perform further filtering.
* If `size/limit`, `from/offset` are set within the search request within the SEARCH function, FTS handles the pagination.
* 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.
* The default value for the cluster wide xref:fts:fts-advanced-settings-bleveMaxResultWindow.adoc[bleveMaxResultWindow] setting is 10000.
====
|===
+
Expand Down