Configure Content Search for Managed Storage
Administrators must configure FileCloud to use Solr before it can be used for advanced search.
- Configure FileCloud with the URL of the Solr server and the port number
- Create an index to allow Solr to search the files in managed storage
Configure a Single Site
Follow these steps to configure FileCloud with Solr, installed in the previous section.
Login into admin UI. Navigate to Settings -> Content Search.
The content search details form has default values for each field.Update these values, depending on your environment.
Parameter Remarks Content Search Status This is a read-only field that displays the status of FileCloud, Solr configuration. URL The http url of the Solr server. Default value is http://127.0.0.1. If Solr is installed on a different server, use its IP address.
Note: Do not use the port number as part of the URL. It will be entered in the next field.Port Port number of the Solr server. Default value is 8983. If Solr is running on a different port, update this value. App Context This is the application context under which the Solr server is hosted. Default value is solr. Config Prefix Unique prefix for the current sites configuration. Default value is fccore.
Note: For multisite FileCloud editions, each site should have a unique prefix, if they use the same Solr server.- Click 'Configure' to configure FileCloud with Solr, using the entered information. Now a message should be displayed, prompting the user the copy a configuration directory from a source directory to a target directory.
Follow the instructions to copy the template folder. In the following example, the folder C:\xampp\htdocs\thirdparty\solarium\fcskel should be copied to C:\work\solr\solr-5.3.1\server\solr\ and renamed as fccore.
Directories and target folder name for your environment might be different. - After copying the folder, click on the 'Configure' button again.
Upon successful configuration, a new field will appear showing the index status of all 'Managed Storage' files.
If it is a fresh installation, there will not be any user files. All the new files will be indexed as they get uploaded.
If it is an existing installation, there will be files already managed. Though the new files will be indexed, the existing files has to be indexed separately. - This can be done by clicking on the 'Index' button.
Upon successful indexing, the following status should be shown.
Configure a Multi-Site
Multi site Solr configuration is similar to the single site configuration. After a new site is created, repeat the above steps for single except in step 2, specify a unique prefix for the new site.
This will configure Solr to create separate index database for each new site.
Note:
Use Unique Prefix for each site.