New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of Solr 4 #94

Merged
merged 1 commit into from Jul 6, 2016

Conversation

Projects
None yet
2 participants
@dsolovay
Contributor

dsolovay commented Jul 6, 2016

  • 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 Solr suppport
* 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.

@dsolovay dsolovay referenced this pull request Jul 6, 2016

Closed

PR Checklist #32

6 of 6 tasks complete

@AlenPelin AlenPelin merged commit 5e4b001 into Sitecore:develop Jul 6, 2016

@AlenPelin AlenPelin referenced this pull request Mar 28, 2017

Merged

Release 1.5 #147

2 of 5 tasks complete

@AlenPelin AlenPelin changed the title from Add Solr suppport to Add support of Solr 4 Mar 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment