Highlight subset of characters

Hello,

how to highlight subset of characters in word(s) within sentence?

For sentence:
It makes website content ingestion easier than ever, so you can add search to your websites and apps in record time.
if chars array for examle "gest" is meant to be highlighted, than to get something like:
It makes website content ingestion easier than ever, so you can add search to your websites and apps in record time.

Read about tokenizer approach part of word

Any working example around? mapping/input data/query containing highlight node?
Sounds like a common use-case. Would ask for recommendation instead of reinventing the wheel.

Regards

Hi Imre,

The highlight does not highlight tokens, instead it highlights the whole word where the token is in. If you want t highlight the token you need to do it by the user interface.

Here is an example how to use the highlight with subset of words ( ngrams tokenizer ). Also, a search example.

Thank you for sharp explanation and example tamara,
still considering how to optimally fit highlight into specific use-case here

Regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.