Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
sitecore-switch-solr
Advanced tools
Readme
#Sitecore switch to Solr npm gulp package
Provides a gulp task that installs Solr 4.10.4 and switches a Solr 8.1 installation to use it. Creates the needed Sitecore cores in the Solr installation.
Based on the great installation instructions from the sitecore community documentation at https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-developers/
##Usage
This npm package is intended to be included from a Sitecore Habitat project. It is included via package.json like this:
"dependencies": {
"sitecore-switch-solr": "^1.0.0"
}
Then it gets installed with npm install
It then provides a task called setup-solr
that can be run from your solution's gulp file. The task should be run as administrator user (to create the Solr service)
You can include it in your project setup like this:
var buildtasks = require('./node_modules/sitecore-switch-solr/gulpfile.js');
gulp.task("00-Setup-Development-Environment", function (callback) {
runSequence(
"setup-solr")
})
Or run it manually from gulp
gulp setup-solr
gulp swith-to-solr
##Gulp task parameters
The gulp tasks expects two parameters in the solution-config.json file. These parameters go in the "configs" variable, and are named "websiteRoot" and "solrExtractLocation". For example:
{
"configs": [
{
"name": "Debug",
"rootFolder": "c:\\websites\\Your.Website",
"websiteRoot": "c:\\websites\\Your.Website\\Website",
"hostName": "Your.Website",
"solrExtractLocation": "C:\\"
}
]
}
The Website folder should include all the Sitecore Website files, more specifically, the bin and App_config folder are expected to be there.
FAQs
Sitecore switch to Solr.
We found that sitecore-switch-solr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).