Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Solr 4 server

Nathan Page edited this page Jun 6, 2018 · 7 revisions

Parrot comes with a Solr instance running in Tomcat, the configs are easily changeable from the host machine.

Accessing

You can access the Solr server from the host machine via port forwarding using the following details:

http://localhost:8983/solr

Default Solr config

The default Solr config supplied with Parrot is the standard attempt to be compatible with both the Search API Solr and Apachesolr modules.

Custom Solr config

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

Extra Solr cores

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
Clone this wiki locally