https://github.com/paunin/yiisolrbehavior
YiiSolrBehavior
https://github.com/paunin/yiisolrbehavior
Last synced: 30 days ago
JSON representation
YiiSolrBehavior
- Host: GitHub
- URL: https://github.com/paunin/yiisolrbehavior
- Owner: paunin
- Created: 2013-10-01T14:02:25.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-01T14:10:28.000Z (about 12 years ago)
- Last Synced: 2025-03-27T02:17:33.794Z (7 months ago)
- Language: PHP
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
YiiSolrBehavior Usage
===============Require https://github.com/phpnode/YiiSolr
public function behaviors()
{
return array(
...
'solr' => array(
'class' => 'ext.behaviors.SolrBehavior.SolrBehavior',
'instanceClass' => 'ContentSolr',
'fieldsMap' => array(
'slug' => 'slug',
'title' => 'title&name',
'title+text' => 'text'
)
)
...);
}