Skip to content

Commit d409d42

Browse files
nodejs: document disabling of fuzzy search (#1913)
1 parent 2a07b29 commit d409d42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

guides/providing-services.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,9 @@ Fuzzy search is a fault-tolerant search feature of SAP HANA Cloud, which returns
441441
You can configure the fuzziness in the range [0.0, 1.0]. The value 1.0 enforces exact search.
442442

443443
- Java: <Config java keyOnly>cds.sql.hana.search.fuzzinessThreshold = 0.8</Config>
444-
- Node.js:<Config keyOnly>cds.hana.fuzzy = 0.7</Config>
444+
- Node.js:<Config keyOnly>cds.hana.fuzzy = 0.7</Config><sup>(1)</sup>
445445

446+
<sup>(1)</sup> If set to `false`, fuzzy search is disabled and falls back to a case insensitive substring search.
446447

447448
Override the fuzziness for elements, using the `@Search.fuzzinessThreshold` annotation:
448449

0 commit comments

Comments
 (0)