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.
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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.