amyjian
(Amy)
2
Hi @H_R1 , this is the expected behavior when highlighting on autocomplete paths today – the returned “hits” will be at least maxGrams in length. We are aware that this is not ideal, and would like to improve this in the future. I suggest opening a feedback item in our portal here to track improvements.
That being said, you can play around with a custom analyzer that mimics autocomplete search behavior while retrieving partial word highlights – example here. You can configure the tokenizer, maxGram and minGram in the custom analyzer like you would for an autocomplete type.
Let me know if this helps!