simplethings / solr-bundle
Solr Bundle
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 6
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- php: ~5.4|~7.0
- jms/metadata: ~1.5
- nelmio/solarium-bundle: ~2.0
- solarium/solarium: ~3.1
- symfony/console: ~2.3|~3.0
- symfony/framework-bundle: ~2.3|~3.0
- symfony/property-access: ~2.3|~3.0
Requires (Dev)
- phpunit/phpunit: ~4.8.20|~5.0
This package is auto-updated.
Last update: 2024-12-11 02:34:29 UTC
README
Installing
$ composer require simplethings/solr-bundle
public function registerBundles() { // ... new Nelmio\SolariumBundle\NelmioSolariumBundle(), new SimpleThings\Bundle\SolrBundle\SimpleThingsSolrBundle(), // ... }
Configuration
app/config/config.yml
simple_things_solr: config_files: - prefix: Acme\Bundle\AcmeBundle\Entity path: "%kernel.root_dir%/../src/Acme/Bundle/AcmeBundle/Resources/config/solr"
src/Acme/Bundle/AcmeBundle/Resources/config/solr/Blog.yml
Acme\Bundle\AcmeBundle\Entity\Blog: type: document fields: id: id name: type: text copy: - fulltext text: type: textSpell copy: - fulltext fulltext: type: textSpell mapped: false multiValued: true