Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jelle 6 posts 46 karma points
    Sep 06, 2018 @ 08:55
    Jelle
    0

    Umbraco + Examine: best practices (Azure)

    Hi,

    I just updated my Umbraco 7.4 site to 7.12.2. My site is hosted as web-app in Azure.

    What are todays best practices for configuring an Umbraco installation in Azure? Especially for Examine/Lucene?

    Thanks in advance.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Sep 06, 2018 @ 09:22
    Ismail Mayat
    100

    Jelle,

    Are load balancing at all or is it stand alone? Just make sure you follow the docs at https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/azure-web-apps

    Main issue is webapps moving around and you end up with empty index, this is mitigated by latest config.

  • Jelle 6 posts 46 karma points
    Sep 06, 2018 @ 10:00
    Jelle
    0

    Hi Ismail,

    I'm running the site in a single web-app, S2 (2x cores, 3.5GB memory).

    After reading your link, I've changed my ExamineSettings.config to:

    <Examine>
      <ExamineIndexProviders>
        <providers>
          <add name="InternalIndexer"
               type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
               supportUnpublished="true"
               supportProtected="true"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
               directoryFactory="Examine.LuceneEngine.Directories.SyncTempEnvDirectoryFactory,Examine"
          />
    
          <add name="InternalMemberIndexer"
               type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
               supportUnpublished="true"
               supportProtected="true"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"
               directoryFactory="Examine.LuceneEngine.Directories.SyncTempEnvDirectoryFactory,Examine"
          />
    
          <!-- default external indexer, which excludes protected and unpublished pages-->
          <add name="ExternalIndexer"
               type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
               directoryFactory="Examine.LuceneEngine.Directories.SyncTempEnvDirectoryFactory,Examine"
          />
        </providers>
      </ExamineIndexProviders>
    
      <ExamineSearchProviders defaultProvider="ExternalSearcher">
        <providers>
          <add name="InternalSearcher"
               type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
    
          <add name="ExternalSearcher"
               type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"/>
    
          <add name="InternalMemberSearcher"
               type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"
               enableLeadingWildcard="true"/>
        </providers>
      </ExamineSearchProviders>
    </Examine>
    

    And I've added <add key="umbracoLocalTempStorage" value="EnvironmentTemp" /> to my web.config.

    So this should be it...?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Sep 06, 2018 @ 13:00
    Ismail Mayat
    0

    Looks good to me. TBH the site I have i should really update to your settings I have the following athough it works, http://issues.umbraco.org/issue/U4-7614 however since i am now on latest version of umbraco and examine I think I should update these settings.

    Regards

    Ismail

  • Tajamal 87 posts 175 karma points
    Oct 13, 2023 @ 10:21
    Tajamal
    0

    Does anybody know how to configure EnvironmentTemp to a shared folder, instead of a "c:\windows\temp" ?

    Umbraco version 7.15.6 We have 3 webserver behind a loadbalancer.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies