9

We are planning to host the solution on Microsoft Azure PaaS, and using Azure Search instead of Solr. When we install Sitecore 9 on Azure PaaS, Solr is not required.

Is there any way to configure the developer box using Sitecore 9 without Solr?

1

It’s not too difficult as long as you can set up a search service for the purpose of local development.

1. Setup Azure Search Service in the Azure Portal

2. Add a new connection string called “Cloud.Search” – make sure to use the search URL and API key from your search service in the Azure portal when building the connection string e.g. <add name="cloud.search" connectionString="serviceUrl=https://AzureSearchServiceURL;apiVersion=2015-02-28-preview;apiKey=AzureSearchServiceAPIKEY"/>

3. Change the app search definition in your web config under <AppSettings> to <add key="search:define" value="Azure"/>

4. Rebuild your Sitecore Indexes

Hope this helps.

0

Yes. It is doable to install Sitecore 9 without Solr. Sitecore will install successfully but it will not work without an Index Provider. By configuring the Index Provider such as Azure Search post installation you will get Sitecore 9 up and running.

-1

You can use Lucene if you are running CMS-only mode (i.e. no Analytics/xDB). If you are running multi-server, multi-CD set up then best practice recommendation has been to use SOLR/Azure which you have already mentioned.

As far as Sitecore 9 installation documentation is concerned, here is the text.

The Sitecore Experience Platform 9.0 rev. 171002 supports Solr, Lucene, and Azure Search as search providers. If you want to use a search index that works in both Analytics and ContentSearch, we recommend that you use Solr.

Following is the Search Indexing Requirements.

enter image description here

I would suggest to review the installation documentation.

  • 1
    Lucene will not work on PaaS – Mark Cassidy Dec 29 '17 at 16:44
  • 2
    My answer is related to development system where developer can program and not for production installation. – Rohit Chopra Dec 29 '17 at 16:49
  • 3
    Right. But on this site we prefer answers to the questions actually asked :-) – Mark Cassidy Dec 29 '17 at 17:16
  • 2
    @MarkCassidy Agree :) – Ashish Bansal Dec 29 '17 at 20:34
  • 4
    To be fair to the answer, the question does state "developer box" not in production. However recommending lucene for SC9 project 9 times out of 10 is always going to get you down voted. – Anicho Nov 8 '18 at 13:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.