Skip to content

Snippet docs don't match behaviour #895

Open
@jazoom

Description

@jazoom

Description
From the docs:

It is possible to change the size of the snippeting by adding its character size in the attributesToSnippet parameter.
For example: "description:40".

The 40 value represents the number of characters (rounded down to always have full words) and not the number of words. Thus, the snippet string size is always equal to or lower than 40 characters.

But this seems to be incorrect. For me this is showing 40 words, not a max of 40 characters.

Expected behavior
What the docs suggest.

Current behavior
Exactly the opposite of what the docs suggest.

Environment (please complete the following information):
latest of each library

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions