yii2-sphinx, How to highlight searching words?


(Dm814) #1

Hello,

I installed extension yii2-sphinx, and it works great.

But I have a question, how to highlight searched words?

If to look at code[dot]google[dot]com/p/sphinxsearch/source/browse/trunk/api/sphinxapi.php , we can find a function BuildExcerpts, which let you set several params: before_match and after_match.

Does this extension have any function like BuildExcerpts?

I hope for your help, thank you