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


Follow these steps to configure FileCloud with Solr, installed in the previous section.

  1. Login into admin UI. Navigate to Settings -> Content Search.


    The content search details form has default values for each field.

  2. Update these values, depending on your environment.

    ParameterRemarks
    Content Search StatusThis is a read-only field that displays the status of FileCloud, Solr configuration.
    URLThe 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.
    PortPort number of the Solr server. Default value is 8983. If Solr is running on a different port, update this value.
    App ContextThis is the application context under which the Solr server is hosted. Default value is solr.
    Config PrefixUnique 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. 
  3. 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.


  4. 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.
  5. This can be done by clicking on the 'Index' button.


    Upon successful indexing, the following status should be shown.

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.

  Index Files in Managed Storage