Hi there, In typesense `highlight_affix num_tokens...
# community-help
m
Hi there, In typesense
highlight_affix num_tokens
does it depend on
text
length? If I set it
0
in my
FullText
, it appears only
highlight
(0 Words before and after). But when I search through
title
which contain a
sentence,
then It the highlights appear as it is, It is supposed to appear the exact word right? Thank you
k
It should not be affected by length. Can you please provide a reproducible example in this format: https://gist.github.com/jasonbosco/7c3432713216c378472f13e72246f46b
👍 1
m
Thank you for the response. I figure it out. Its because of
snippet_threshold
. And by default it is
30
. So when I set
1
, it is working goodly with all feild