Alfresco supports use of the Solr Enterprise search platform for searching within the Alfresco repository. Also, the existing embedded Lucene index remains available.
Solr is an open source enterprise search platform that uses lucene as indexing and search engine. Solr is written in Java and runs as a standalone search server. Alfresco sends HTTP and XML input to Solr and searches for content. Solr updates the cores or indexes and returns the result of the query in XML or JSON format.
Note: To confirm which application servers Alfresco supports for running the Solr application on, see the Supported Platforms matrix for your version of Alfresco One.
There are two cores or indexes in Solr version 1.4:
- WorkspaceStore: used for searching all live content stored at alfresco/alf_data/contentstorewithin the Solr search server.
- ArchiveStore: used for searching content that has been marked as deleted at alfresco/alf_data/contentstorewithin the Solr search server.
Note: Alfresco One 4.2 only supports Solr version 1.4, so any latest version of Solr (for example Solr 3.6.1) will not be supported by Alfresco.
Note: Solr is the default search mechanism for new installations installed with the Setup Wizard. Also, the Solr server is supported only when running in a Tomcat application server. Therefore, if you are running Alfresco within a different application server and you wish to use Solr search, you must install Tomcat.
Important: Every Alfresco installation is supplied with a generic certificate and SSL keys. For security reasons, it is advised that you generate a new set of keys to secure you Solr communication and access to the Solr Admin Console. For more information, see Configuring Solr and Generating secure keys for Solr communication.