#community-help

Defining `highlight_affix_num_tokens` and Doc Improvements

TLDR Steffen had a query about highlight_affix_num_tokens and suggested improvements for the documents. Kishore Nallan confirmed doc improvements would be made.

Powered by Struct AI

1

4
12mo
Solved
Join the chat
Oct 21, 2022 (12 months ago)
Steffen
Photo of md5-9873c8bd4a02ffd0be1123516cd2cd4b
Steffen
09:30 AM
Hi everybody,
is there any option to define highlight_affix_num_tokens per field?
General question: @team do you want us to post feature requests to the issue board on GitHub or share them here?
Thanks a lot 🙂
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:10 AM
We don't have a way to do that. Feature requests are better being posted to GitHub. :ty:
Steffen
Photo of md5-9873c8bd4a02ffd0be1123516cd2cd4b
Steffen
10:12 AM
Awesome!
One small improvement: In the docs, there is no mention of removing a field on upsert/update. Explicitly nulling that field works for me while undefined does not (makes sense but is not obvious). Might be a good idea to add that to the docs.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
12:19 PM
Good idea, will add it.

1