Yii2-solr model template


i’m using yii2 in combination with the yii2-solr extension. I like to use this extension in the typical yii2 model world. So is there an tutorial or an model code-template, how a model (which uses yii2-solr) should look like?

I only know the github readme, which does not give deep view insight the topic: how to build an yii2-model using yii2-solr.

Thank you.


It’s not part of the Yii core so I think only extension author knows for sure.

Sure. But maybe some users have an similar usecase like me, so that they could give an hint.

Are you still needing this? I have solr running, though I won’t claim to know all the ins and outs of it. But I can share what I’ve done if you’re still interested. Sorry I didn’t see this sooner.