Skip to content
Open
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
4 changes: 2 additions & 2 deletions guides/providing-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,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].
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without the sentence it feels odd. Would sth like this help?

Suggested change
You can configure the fuzziness in the range [0.0, 1.0].
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: <Config java keyOnly>cds.sql.hana.search.fuzzinessThreshold = 0.8</Config>
- Node.js:<Config keyOnly>cds.hana.fuzzy = 0.7</Config><sup>(1)</sup>
Expand Down Expand Up @@ -1145,7 +1145,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] }
Expand Down
Loading