Copied to clipboard

Flag this post as spam?

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


  • Sean Dooley 273 posts 490 karma points
    Oct 14, 2011 @ 13:01
    Sean Dooley
    0

    updating examine indexing

    Experiencing issues with examine indexing after adding additional node types to IncludeNodeTypes.

    Initially added Page and uBlogsyPost without any issues, then I added RecipeContainer and Recipe and started experiencing issues.

    I have tried deleting the examine index files and re-publishing the site and individual nodes without any luck.

    Below are the config files below and currently using Umbraco 4.7.1

    Any ideas?

    = ExamineSettings.config =

    <Examine>
      <ExamineIndexProviders>
        <providers>
          <add name="InternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
               supportUnpublished="true"
               supportProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
          <add name="InternalMemberIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
               supportUnpublished="true"
               supportProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>
          <add name="WebsiteIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
               runAsync="true"
               supportUnpublished="false"
               supportProtected="false"
               interval="10"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
               enableDefaultEventHandler="true"
               indexSet="WebsiteIndexSet"/>
        </providers>
      </ExamineIndexProviders>
      <ExamineSearchProviders defaultProvider="InternalSearcher">
        <providers>
          <add name="InternalSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
          <add name="InternalMemberSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true"/>
          <add name="WebsiteSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
               indexSet="WebsiteIndexSet"/>
        </providers>
      </ExamineSearchProviders>
    </Examine>

    = ExamineIndex.config =

    <ExamineLuceneIndexSets>
        <!-- The internal index set used by Umbraco back-office - DO NOT REMOVE -->
        <IndexSet SetName="InternalIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/Internal/">
          <IndexAttributeFields>
            <add Name="id" />
            <add Name="nodeName" />
            <add Name="updateDate" />
            <add Name="writerName" />
            <add Name="path" />
            <add Name="nodeTypeAlias" />
            <add Name="parentID" />
          </IndexAttributeFields>
          <IndexUserFields />
          <IncludeNodeTypes/>
          <ExcludeNodeTypes />
        </IndexSet>
      
        <!-- The internal index set used by Umbraco back-office for indexing members - DO NOT REMOVE -->
        <IndexSet SetName="InternalMemberIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/InternalMember/">
            <IndexAttributeFields>
                <add Name="id" />
                <add Name="nodeName" />
                <add Name="updateDate" />
                <add Name="writerName" />
                <add Name="loginName" />
                <add Name="email" />
                <add Name="nodeTypeAlias" />
            </IndexAttributeFields>
            <IndexUserFields/>
            <IncludeNodeTypes/>
            <ExcludeNodeTypes />
        </IndexSet>
        <IndexSet SetName="WebsiteIndexSet" IndexPath="~/App_Data/ExamineIndexes/Website/">
          <IndexAttributeFields>
            <add Name="id" />
            <add Name="nodeName" />
            <add Name="updateDate" />
            <add Name="writerName" />
            <add Name="path" />
            <add Name="nodeTypeAlias" />
            <add Name="parentID" />
          </IndexAttributeFields>
          <IndexUserFields>
            <add Name="bodyText" />
            <add Name="uBlogsyContentBody" />
          </IndexUserFields>
          <IncludeNodeTypes>
            <add Name="Page" />
            <add Name="RecipeContainer" />
            <add Name="Recipe" />
            <add Name="uBlogsyPost" />
          </IncludeNodeTypes>
          <ExcludeNodeTypes>
            <add Name="ExternalLink" />
            <add Name="Frontpage" />
            <add Name="Lang" />
            <add Name="MainMaster" />
            <add Name="Error404" />
            <add Name="Sitemap" />
            <add Name="Image" />
          </ExcludeNodeTypes>
        </IndexSet>
    </ExamineLuceneIndexSets>

     

  • Sean Dooley 273 posts 490 karma points
    Oct 20, 2011 @ 13:36
    Sean Dooley
    0

    Decided to rename any reference to Website to Site which then correctly indexed the content.

  • 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