3

We have deployed the sitecore on to azure web apps. From what I read, the azure web apps instances share the common file share. For example, if we have 3xCD all of them will share the compiled code including assets and indexes etc. As a result we are getting "Lucene.Net.Store.LockObtainFailedException"

Sitecore 8.1 : Lucene.Net.Store.LockObtainFailedException

If we have 3xCD , is it possible to configure each CD instance to share the common lucene index so that each instances doesn't try to rebuilt the index.

2 Answers 2

1

No. Lucene indexes are local to the Sitecore server. You'll need to use Solr to achieve what you want. One of the reasons the Solr option was introduced was to solve this problem. It provides access to the index over HTTP.

The following Stack Overflow question was answered by one of the architects of the Sitecore ContentSearch functionality:

When to definitely use SOLR over Lucene in a Sitecore 7 build?

It discusses the pros and cons of Solr vs Lucene.

0

Martin is correct. Lucene indexes can not be shared and Solr's can be. However, I would add Coveo is a viable option as well and provides more out of the box functionality around search.

You can learn more about coveo here

10
  • Coveo is a viable option for site search functionality but not recommended for content search to replace the Lucene indexes. Jun 30, 2016 at 13:35
  • @jflheureux can you share the documentation for that? I would like to understand how a site search, which is a search of content, is somehow different than a content search.
    – Casey
    Jun 30, 2016 at 14:16
  • Hi @Casey, this article sums it up very well: andyuzick.arke.com/2016/06/content-indexing-vs-site-search.html Jul 4, 2016 at 13:27
  • @jflheureux great article but this doesn't say coveo is not recommended for content search. In fact, it almost suggest using Coveo as well because it provides content indexing which out of the box can also be utilized for site search. After seeing Coveo utilized at several different clients now I can confidently say it works great for indexing content and site search.
    – Casey
    Jul 4, 2016 at 14:07
  • At the time of Sitecore 7.0-7.1, only one Sitecore search provider was allowed. Thus, Coveo had to replace Lucene for all the Sitecore indexes (Core, Master, Web) and index all the items with the fields Sitecore use in its various tools. Coveo was used for content and site search. Coveo offering adds a lot of value for site search (OOTB UI components, REST API, indexing securities, LINQ to search provider API support...) but it doesn't add anything to content search (queries made by the Sitecore content editor and other Sitecore tools) except a unified index compared to Lucene. Jul 4, 2016 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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