Copied to clipboard

Flag this post as spam?

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


  • David Peck 687 posts 1863 karma points c-trib
    May 05, 2017 @ 08:23
    David Peck
    0

    Examine index not updating on slave (load balanced) server

    I'm at a bit of a loss how to proceed. We have a 2 server load balanced environment. It works via flexible load balancing. We then have a separate 'CMS' server which is not publically available, and content from that is couriered of #1 server. Load balancing works, as the content is publish on #1 & #2, however the examine indexes (at least of my custom examine index) on #2 aren't updated. I have to go to the developer section for #2 and rebuild that index in order to resolve the situation.

    Making an edit directly on #1 updates fine on #2.

    I don't think it is related but I have 9 custom indexes, which I'm told is a bad idea...

        <IndexSet SetName="NewsArticleIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/NewsArticle/">
        <IndexAttributeFields>
            <add Name="id" />
        </IndexAttributeFields>
        <IndexUserFields>
            <add Name="articleDate" EnableSorting="true" Type="DateTime" />
            <add Name="category" />
        </IndexUserFields>
        <IncludeNodeTypes>
            <add Name="newsArticle"/>
        </IncludeNodeTypes>
    </IndexSet>
    

    ExamineIndex.config

    <add name="NewsArticleIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
                 analyzer="Lucene.Net.Analysis.KeywordAnalyzer, Lucene.Net"/>
    
    
    <add name="NewsArticleSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
                     analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net" />
    

    ExamineSettings.config

    This is v. 7.5.7

Please Sign in or register to post replies

Write your reply to:

Draft