Answer the question
In order to leave comments, you need to log in
How to write data to Sphinx RT index in Yii2?
Good day, how to write data to Sphinx RT index on Yii2?
How to write data to rt-index understandably? there are a lot of articles on this, for example, here
But how to do it competently at the framework level? insert requests to write data to the rt-index in the afterSave() event of the Model?
What about possible related data? in general, are there, so to speak, proven solutions on this topic, or does everyone make their own bike? Ideally, of course, everything should be done through yii\sphinx\ActiveQuery ..
Answer the question
In order to leave comments, you need to log in
There is an extension for this and there are docks for it:
https://github.com/yiisoft/yii2-sphinx/blob/master...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question