-
Notifications
You must be signed in to change notification settings - Fork 15
Solr 4 server
Parrot comes with a Solr instance running in Tomcat, the configs are easily changeable from the host machine.
You can access the Solr server from the host machine via port forwarding using the following details:
http://localhost:8983/solr
The default Solr config supplied with Parrot is the standard attempt to be compatible with both the Search API Solr and Apachesolr modules.
If you need to use a custom solr config, then you can edit the files here on the host machine:
parrot-config/solr/00-drupal-solr-common/
After making your changes, simply reload the VM to make the updates to the Solr server:
vagrant reload
If you need completely different Solr configurations, then you can make use of totally separate Solr cores.
Parrot makes this easy, all you need to do is copy the parrot-config/solr/00-drupal-solr-common
directory on the host machine to a directory like: parrot-config/solr/new-solr-core-name
, change the config you need to and then re-run to the provisioner the VM:
vagrant provision
And the new core will be provisioned and added to the Solr configuration.
You can then use this new core in Drupal with details like this:
http://localhost:8983/solr/new-solr-core-name