Download Solr
Author: h | 2025-04-24
Navigate to the Solr Website: Visit the official Apache Solr website to find the download link for Solr 9.4. Download Solr: Use the wget command to download the Solr Apache Solr Downloads. Official Solr downloads from The Apache Software Foundation: Solr 7.1 download from ASF mirrors, and new Solr 7.1 Features Solr 7.0 download
Solr Security News - Apache Solr
Solr is a popular enterprise search platform build on Apache Lucene. It’spopular for its reliability, scalability, and fault tolerance. Read more aboutit here.Although Elasticsearchis the default search engine that ships with Liferay DXP, it’s perfectly valid touse Solr instead. In particular, if you’ve already been using Solr with aprevious version of Liferay DXP, or your deployment system (for example, your OS orJVM) isn’t supported by Elasticsearch,you might choose to use Solr to search and index your Liferay DXP data.Liferay’s support for Solr is compatible with Solr versions 5.2.x through 5.5.x.To make Liferay DXP and Solr talk to each other, you’ll need to install the LiferaySolr adapter. There are two ways to do this:Navigate to the Liferay Marketplacewebsite and download the LPKG file for Liferay (CE) Solr 5 SearchEngine. Once you do, copy the LPKG to your Liferay_Home/osgi/marketplacefolder.In your running Liferay instance, navigate to Control Panel → Apps→ Store. Sign in using your credentials, search for Solr SearchEngine, and purchase (it’s free) the Liferay (CE) Solr 5 SearchEngine entry.This guide leads you through the process of installing and configuring Solr.As you proceed, these terms will be useful to keep in mind:Solr Home: The center of the Solr system (pun intended). This directory issolr-[version]/server/solr.Liferay Home: The root folder of your Liferay DXP installation. It containsthe osgi, deploy, data, and license folders, among others.Before configuring Liferay DXP for Solr, you need to install and set up Solr.Installing and Configuring Solr 5To install and properly configure Solr for Liferay DXP:Download Solr and unzip it.Navigate to solr-[version]/server/solr. This is Solr Home.Create a new folder called liferay.In the liferay folder, create two new folders: conf and data.Copy the contents of Solr_Home/configsets/data_driven_schema_configs/confto Solr_Home/liferay/conf.Open the Liferay Solr Adapter’s LPKG file with an archive manager.Open the com.liferay.portal.search.solr.jar file, and extract META-INF/resources/solrconfig.xmland META-INF/resources/schema.xmlto Solr_Home/liferay/confThis replaces the current solrconfig.xml and schema.xml files with onesthat tell Solr how to index data coming from Liferay DXP.Create a core.properties file in Solr_Home/liferay, and add thesecontents: config=solrconfig.xml dataDir=data name=liferay schema=schema.xmlCheckpoint: your Solr_Home/liferay folder should now have this structure: liferay ├── conf │ ├── currency.xml │ ├── elevate.xml │ ├── lang │ ├── managed-schema │ ├──. Navigate to the Solr Website: Visit the official Apache Solr website to find the download link for Solr 9.4. Download Solr: Use the wget command to download the Solr Apache Solr Downloads. Official Solr downloads from The Apache Software Foundation: Solr 7.1 download from ASF mirrors, and new Solr 7.1 Features Solr 7.0 download Apache Solr Downloads. Official Solr downloads from The Apache Software Foundation: Solr 7.1 download from ASF mirrors, and new Solr 7.1 Features Solr 7.0 download Download Solr To get started, download the latest version of Solr from the official website: Go to the Solr Downloads Page and download the latest stable release (e.g, solr Download Solr To get started, download the latest version of Solr from the official website: Go to the Solr Downloads Page and download the latest stable release (e.g, solr C: UsersuserName Downloads solr-6.2.1 solr-6.2.1 bin ls init.d oom_solr.sh solr solr.in.cmd install_solr_service.sh post solr.cmd solr.in.sh Once you see solr you can smile :) and try this!! C: Users Shivasai Downloads solr-6.2.1 solr-6.2.1 bin solr start Waiting up to 30 to see Solr running on port 8983 Started Solr server on port 8983. C: Users userName Downloads solr-6.2.1 solr-6.2.1 bin ls init.d oom_solr.sh solr solr.in.cmd install_solr_service.sh post solr.cmd solr.in.sh Once you see solr you can smile :) and try this!! C: Users Shivasai Downloads solr-6.2.1 solr-6.2.1 bin solr start Waiting up to 30 to see Solr running on port 8983 Started Solr server on port 8983. Ckan-solrPre-configured Solr Docker images for CKAN.Note: These images are built on top of the upstream Solr images. These images receive bug fixes from time to time which we pull into ours, but you won't get them unless you re-pull the CKAN Solr image.The recommended Solr version for the currently supported CKAN version is Solr 9.You can get a local Solr instance targeting a specific CKAN version by running the following command:docker run --name ckan-solr -p 8983:8983 -d ckan/ckan-solr:2.11-solr9The following versions are available as different image tags:CKAN VersionSolr versionDocker tagNotes2.11Solr 9ckan/ckan-solr:2.11-solr9, ckan/ckan-solr:2.11-solr9.8This is the recommended version if you are unsure which one to use2.11Solr 9ckan/ckan-solr:2.10-solr9-spatial, ckan/ckan-solr:2.10-solr9.8-spatialContains fields needed for the ckanext-spatial geo search2.10Solr 9ckan/ckan-solr:2.10-solr9, ckan/ckan-solr:2.10-solr9.82.10Solr 9ckan/ckan-solr:2.10-solr9-spatial, ckan/ckan-solr:2.10-solr9.8-spatialContains fields needed for the ckanext-spatial geo search2.10Solr 8ckan/ckan-solr:2.10-solr8 (previously ckan/ckan-solr:2.10)2.10Solr 8ckan/ckan-solr:2.10-solr8-spatial (previously ckan/ckan-solr:2.10-spatial)Contains fields needed for the ckanext-spatial geo searchmasterSolr 9ckan/ckan-solr:masterThe master image is built nightlyThe following tags are no longer supported:CKAN VersionSolr versionDocker tagLegacy Docker tagsNotes2.7Solr 6ckan/ckan-solr:2.7ckan/ckan-solr-dev:2.72.8Solr 6ckan/ckan-solr:2.8ckan/ckan-solr-dev:2.82.9Solr 6ckan/ckan-solr:2.9ckan/ckan-solr-dev:2.92.9Solr 9ckan/ckan-solr:2.9-solr9Requires at least CKAN 2.9.52.9Solr 9ckan/ckan-solr:2.9-solr9-spatialContains fields needed for the ckanext-spatial geo search2.9Solr 8ckan/ckan-solr:2.9-solr8Requires at least CKAN 2.9.52.9Solr 8ckan/ckan-solr:2.9-solr8-spatialContains fields needed for the ckanext-spatial geo searchAll these images expose the CKAN Solr endpoint at so that's what you should set the value of solr_url in your ini file to.Building the imagesGo to the relevant folder for the Solr version (eg solr-9) and use the Makefile included:# Default version is 2.11make build# Specify a different versionmake build CKAN_VERSION=2.10Use your own configuration filesIf you want to play around with the solr config files you can copy them from the container to your local host and then run the container with a bind mount.Run a container:docker run --name ckan-solr -p 8983:8983 -d ckan/ckan-solr:2.11-solr9Copy the config file of the target core to your machine (eg ckan):docker cp ckan-solr:/opt/solr/server/solr/configsets/ckan/conf ./my_confStop the container:Run the container with a bind mount:docker run -p 8983:8983 --mount type=bind,source="$(pwd)"/my_conf,target=/opt/solr/server/solr/configsets/ckan/conf -d ckan/ckan-solr:2.11-solr9Edit your local filesReload the core using the Solr admin page:Comments
Solr is a popular enterprise search platform build on Apache Lucene. It’spopular for its reliability, scalability, and fault tolerance. Read more aboutit here.Although Elasticsearchis the default search engine that ships with Liferay DXP, it’s perfectly valid touse Solr instead. In particular, if you’ve already been using Solr with aprevious version of Liferay DXP, or your deployment system (for example, your OS orJVM) isn’t supported by Elasticsearch,you might choose to use Solr to search and index your Liferay DXP data.Liferay’s support for Solr is compatible with Solr versions 5.2.x through 5.5.x.To make Liferay DXP and Solr talk to each other, you’ll need to install the LiferaySolr adapter. There are two ways to do this:Navigate to the Liferay Marketplacewebsite and download the LPKG file for Liferay (CE) Solr 5 SearchEngine. Once you do, copy the LPKG to your Liferay_Home/osgi/marketplacefolder.In your running Liferay instance, navigate to Control Panel → Apps→ Store. Sign in using your credentials, search for Solr SearchEngine, and purchase (it’s free) the Liferay (CE) Solr 5 SearchEngine entry.This guide leads you through the process of installing and configuring Solr.As you proceed, these terms will be useful to keep in mind:Solr Home: The center of the Solr system (pun intended). This directory issolr-[version]/server/solr.Liferay Home: The root folder of your Liferay DXP installation. It containsthe osgi, deploy, data, and license folders, among others.Before configuring Liferay DXP for Solr, you need to install and set up Solr.Installing and Configuring Solr 5To install and properly configure Solr for Liferay DXP:Download Solr and unzip it.Navigate to solr-[version]/server/solr. This is Solr Home.Create a new folder called liferay.In the liferay folder, create two new folders: conf and data.Copy the contents of Solr_Home/configsets/data_driven_schema_configs/confto Solr_Home/liferay/conf.Open the Liferay Solr Adapter’s LPKG file with an archive manager.Open the com.liferay.portal.search.solr.jar file, and extract META-INF/resources/solrconfig.xmland META-INF/resources/schema.xmlto Solr_Home/liferay/confThis replaces the current solrconfig.xml and schema.xml files with onesthat tell Solr how to index data coming from Liferay DXP.Create a core.properties file in Solr_Home/liferay, and add thesecontents: config=solrconfig.xml dataDir=data name=liferay schema=schema.xmlCheckpoint: your Solr_Home/liferay folder should now have this structure: liferay ├── conf │ ├── currency.xml │ ├── elevate.xml │ ├── lang │ ├── managed-schema │ ├──
2025-04-02Ckan-solrPre-configured Solr Docker images for CKAN.Note: These images are built on top of the upstream Solr images. These images receive bug fixes from time to time which we pull into ours, but you won't get them unless you re-pull the CKAN Solr image.The recommended Solr version for the currently supported CKAN version is Solr 9.You can get a local Solr instance targeting a specific CKAN version by running the following command:docker run --name ckan-solr -p 8983:8983 -d ckan/ckan-solr:2.11-solr9The following versions are available as different image tags:CKAN VersionSolr versionDocker tagNotes2.11Solr 9ckan/ckan-solr:2.11-solr9, ckan/ckan-solr:2.11-solr9.8This is the recommended version if you are unsure which one to use2.11Solr 9ckan/ckan-solr:2.10-solr9-spatial, ckan/ckan-solr:2.10-solr9.8-spatialContains fields needed for the ckanext-spatial geo search2.10Solr 9ckan/ckan-solr:2.10-solr9, ckan/ckan-solr:2.10-solr9.82.10Solr 9ckan/ckan-solr:2.10-solr9-spatial, ckan/ckan-solr:2.10-solr9.8-spatialContains fields needed for the ckanext-spatial geo search2.10Solr 8ckan/ckan-solr:2.10-solr8 (previously ckan/ckan-solr:2.10)2.10Solr 8ckan/ckan-solr:2.10-solr8-spatial (previously ckan/ckan-solr:2.10-spatial)Contains fields needed for the ckanext-spatial geo searchmasterSolr 9ckan/ckan-solr:masterThe master image is built nightlyThe following tags are no longer supported:CKAN VersionSolr versionDocker tagLegacy Docker tagsNotes2.7Solr 6ckan/ckan-solr:2.7ckan/ckan-solr-dev:2.72.8Solr 6ckan/ckan-solr:2.8ckan/ckan-solr-dev:2.82.9Solr 6ckan/ckan-solr:2.9ckan/ckan-solr-dev:2.92.9Solr 9ckan/ckan-solr:2.9-solr9Requires at least CKAN 2.9.52.9Solr 9ckan/ckan-solr:2.9-solr9-spatialContains fields needed for the ckanext-spatial geo search2.9Solr 8ckan/ckan-solr:2.9-solr8Requires at least CKAN 2.9.52.9Solr 8ckan/ckan-solr:2.9-solr8-spatialContains fields needed for the ckanext-spatial geo searchAll these images expose the CKAN Solr endpoint at so that's what you should set the value of solr_url in your ini file to.Building the imagesGo to the relevant folder for the Solr version (eg solr-9) and use the Makefile included:# Default version is 2.11make build# Specify a different versionmake build CKAN_VERSION=2.10Use your own configuration filesIf you want to play around with the solr config files you can copy them from the container to your local host and then run the container with a bind mount.Run a container:docker run --name ckan-solr -p 8983:8983 -d ckan/ckan-solr:2.11-solr9Copy the config file of the target core to your machine (eg ckan):docker cp ckan-solr:/opt/solr/server/solr/configsets/ckan/conf ./my_confStop the container:Run the container with a bind mount:docker run -p 8983:8983 --mount type=bind,source="$(pwd)"/my_conf,target=/opt/solr/server/solr/configsets/ckan/conf -d ckan/ckan-solr:2.11-solr9Edit your local filesReload the core using the Solr admin page:
2025-04-11Solr nodes: Solr process 12755 running on port 7574{ "solr_home":"/home/russell/Documents/docs-projects/solr-docs/solr-5.2.1/example/cloud/node2/solr/", "version":"5.2.1 1684708 - shalin - 2015-06-10 23:20:13", "startTime":"2016-08-19T18:11:27.087Z", "uptime":"0 days, 0 hours, 13 minutes, 2 seconds", "memory":"50 MB (%10.2) of 490.7 MB", "cloud":{ "ZooKeeper":"localhost:9983", "liveNodes":"2", "collections":"1"}}Solr process 12564 running on port 8983{ "solr_home":"/home/russell/Documents/docs-projects/solr-docs/solr-5.2.1/example/cloud/node1/solr/", "version":"5.2.1 1684708 - shalin - 2015-06-10 23:20:13", "startTime":"2016-08-19T18:11:21.637Z", "uptime":"0 days, 0 hours, 13 minutes, 8 seconds", "memory":"44.9 MB (%9.2) of 490.7 MB", "cloud":{ "ZooKeeper":"localhost:9983", "liveNodes":"2", "collections":"1"}}To stop Solr while running in SolrCloud mode, use the stop command, like this:bin/solr stop -allConfigure the Solr Adapter for SolrCloudThere’s only one thing left to do: specify the client type as CLOUD inLiferay’s Solr adapter.From System Settings or your OSGi configuration file, set the Client Typeto CLOUD. clientType="CLOUD"Start Liferay DXP if it’s not running already.Now you’re able to configure Liferay DXP for Solr, and Solr for Liferay DXP. Rememberthat Elasticsearch is the default search engine for Liferay DXP, so if you’re notconstrained to use Solr or already a Solr expert, consider Elasticsearch for yousearch engine requirements. If you do use Solr, then you can tell all yourcolleagues that your Liferay DXP installation’s search capability is Solr powered(pun intended).
2025-04-23//index.md --> Back upThere are a number of ways to back up Search Services. You can set the Solr indexes backup properties either by: Editing the ‘solrcore.properties’ file Using a JMX client, such as JConsole. Note: This feature is only available when you are using Alfresco Content Services Enterprise.This task shows you how to specify the Solr backup directory by using the /solrhome/templates/rerank/conf/solrcore.propertiesTo set the Solr backup directory using the solrcore.properties file, set the value of the following properties to the full path where the backups should be kept after starting solr (remember to make sure it is an exsisting location and the path is the correct format depending on if uisng MAC/Windows/Linux):solr.backup.dir=Then stop solr and repeat the same step for each of the cores created after startup. The above path should have copied the path to the cores at creation but alfresco and archive would need to be specified for each core.To set the Solr backup directory for each core use the /solrhome/alfresco/conf/solrcore.properties and /solrhome/archive/conf/solrcore.properties file and edit the same property as above.Then restart solr with these properties added and then use the admin console to edit the frequency of the backup.You can only see the Admin Console if you’re an administrator.To edit the frequency of the backup, you can use the Cron Expression via the admin console. Launch the Admin Console. For information, see Launch Admin Console. In the Repository Services section, click Search Service. You see the Search Service page. Scroll down to the Backup Settings section. Here, you can edit backup properties for each core of the Solr index: Main Store and Archive Store. Backup Cron Expression: Specifies a Quartz cron expression that defines when backups occur. Solr creates a timestamped sub-directory for each index back up you make. Backups To Keep: Specifies the maximum number of index backups that Solr should store. Click Save.This task shows how to specify the Solr backup directory by using the /shared/classes/alfresco-global.properties file.To set the Solr backup directory using the alfresco-global.properties file, set the value of the following properties to the full path where the backups should be kept:solr.backup.archive.remoteBackupLocation=solr.backup.alfresco.remoteBackupLocation=The values set on a subsystem will mean that the property values from configuration files may be ignored. Use the solrcore.properties or JMX client to set the backup location.If you have installed the Oracle Java SE Development Kit (JDK), you can use the JMX client, JConsole, to backup Solr indexes, edit Solr backup properties and setup the backup directory. You can set the backup of Solr indexes using the JMX client, such as JConsole on the JMX MBeans > Alfresco > Schedule > DEFAULT > MonitoredCronTrigger > search.alfrescoCoreBackupTrigger > Operations > executeNow tab. The default view is the Solr core summary. Alternatively,
2025-04-24