diff --git a/guides/services/custom-actions.md b/guides/services/custom-actions.md index 91aa6fc53..eeda0fbb6 100644 --- a/guides/services/custom-actions.md +++ b/guides/services/custom-actions.md @@ -64,7 +64,7 @@ Event handlers for actions or functions are very similar to those for CRUD event **Method-style Implementations** in Node.js, you can alternatively implement actions and functions using conventional JavaScript methods with subclasses of `cds.Service`: ```js -module.exports = class Sue extends cds.Service { +module.exports = class Sue extends cds.ApplicationService { sum(x,y) { return x+y } add(x,to) { return stocks[to] += x } stock(id) { return stocks[id] } diff --git a/guides/services/served-ootb.md b/guides/services/served-ootb.md index e8cf77aeb..aa52c93e8 100644 --- a/guides/services/served-ootb.md +++ b/guides/services/served-ootb.md @@ -315,7 +315,7 @@ To illustrate the above: Fuzzy search is a fault-tolerant search feature of SAP HANA Cloud, which returns records even if the search term contains additional characters, is missing characters, or has typographical errors. -You can configure the fuzziness in the range `[0.0, 1.0]`. The value 1.0 enforces exact search. +You can configure the fuzziness in the range `[0.0, 1.0]`. The value `1.0` enforces the least fuzzy search, if not overwritten by annotations on elements. - Java: cds.sql.hana.search.fuzzinessThreshold = 0.8 - Node.js:cds.hana.fuzzy = 0.7(1)