Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support of Solr 4 #94
This feature automates the following steps:
Note: As part of this feature, the following changes were made to SIM:
* Fixes issue #14. * Automates the installation of the "Solr support package" and Solr core creation. * Requires Solr 4.x be installed and running. (Solr 5.0+ are not yet supported.) * Requires the default "collection1" be present. This is used as a template. * Requires Sitecore 8.1 (all versions). Sitecore 8.0 and earlier have minor issues with Solr Schema generation (see https://kb.sitecore.net/articles/227897) This feature automates the following steps: 1. The user is prompted for the Solr URL. This defaults to http://localhost:8983/solr. 2. The url value in Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config is updated based on the user's input. 3. All configuration files with ".solr." (case insensitive) are enabled, and files that have ".lucene." but otherwise have matching names are disabled. Unmatched Lucene files are left alone. 4. The core names are updated to be prefixed by the instance name, following the convetion SIM uses for SQL and MongoDB databases. 5. The Global.asax is modified to inherit from the "WindsorApplication" included in the "Solr support package" from Sitecore. 6. The required Castle DLLs are copied to the website bin directory. These dlls are at the version referenced by the Solr support package. 7. The contents of the Solr support package are copied to the new site. 8. The Sitecore Schema wizard is applied to the schema.xml file of the new cores. 9. The cores are created on Solr. Note: As part of this feature, the following changes were made to SIM: 1. The "IInstallPackageActions.cs" interface was reintroduced, along with support for "custom" installation actions. (These were removed with 43ddaf). 2. A conditional logic feature was added to the package manifest logic. See ConfigurationActons.cs and ConditionEvaluatorTests.cs. 3. NSubstitute was added to support unit testing.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.