Yii Framework Forum: yii2-sphinx, How to highlight searching words? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

yii2-sphinx, How to highlight searching words? Rate Topic: -----

#1 User is offline   Dima814 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 28-August 15

Posted 28 August 2015 - 06:16 AM

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users