Copied to clipboard

Flag this post as spam?

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


  • Travis 19 posts 46 karma points
    Sep 10, 2010 @ 08:04
    Travis
    0

    Examine not indexing on fresh 4.5.2 install

    I only started with Umbraco yesterday, added to an existing team who are well into a project.  Fresh install of Umbraco on my machine but I just can't get Examine to index anything - not even the default indexers are working.

    My config files included below.  Doing a publish doesn't trigger any indexing - I don't get any new index folders created.  No errors in the log table.  It just doesn't work.  Version 4.5.2 installed via the Web platform installer. The web config contains all the correct settings (included by default by the installer).  Anyone have any ideas?

     

    <ExamineLuceneIndexSets>

        <!-- The internal index set used by Umbraco back-office - DO NOT REMOVE -->

        <IndexSet SetName="InternalIndexSet" IndexPath="~/App_Data/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/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>

     

      <!-- Wine search index-->

      <IndexSet SetName="WineIndexSet" IndexPath="~/App_Data/ExamineIndexes/Wine/">

        <IndexAttributeFields >

          <add Name="id" />

        </IndexAttributeFields>                          

          <IndexUserFileds /> 

          <IncludeNodeTypes >

            <add Name="Wine" />            

          </IncludeNodeTypes>

          <ExcludeNodeTypes />        

      </IndexSet>

     

     

    </ExamineLuceneIndexSets>

     

    <?xml version="1.0"?>

    <!-- 

    Umbraco examine is an extensible indexer and search engine.

    This configuration file can be extended to add your own search/index providers.

    Index sets can be defined in the ExamineIndex.config if you're using the standard provider model.

     

    More information and documentation can be found on CodePlex: http://umbracoexamine.codeplex.com

    -->

    <Examine>

      <ExamineIndexProviders>

        <providers>

          <add name="InternalIndexer" type="UmbracoExamine.LuceneExamineIndexer, UmbracoExamine"

               runAsync="true"

               supportUnpublished="true"

               supportProtected="true"

               interval="10"

               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

          <add name="InternalMemberIndexer" type="UmbracoExamine.MemberLuceneExamineIndexer, UmbracoExamine"

               runAsync="true"

               supportUnpublished="true"

               supportProtected="true"

               interval="10"

               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>

     

          <add name="WineIndexer" type="UmbracoExamine.LuceneExamineIndexer, UmbracoExamine"

               runAsync="true"

               supportUnpublished="false"

               supportProtected="false"

               interval="1"

               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"

               IndexSet="WineIndexSet"/>

        </providers>

      </ExamineIndexProviders>

      <ExamineSearchProviders defaultProvider="InternalSearcher">

        <providers>

          <add name="InternalSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"

               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

     

          <add name="InternalMemberSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"

               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true"/>

     

          <add name="WineSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"

               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

     

        </providers>

      </ExamineSearchProviders>

    </Examine>

     

  • Travis 19 posts 46 karma points
    Sep 14, 2010 @ 11:56
    Travis
    0

    Resolved - I removed all the default indexes (that it tells me not to) and bingo - indexing works. for now that is good enough for me.

Please Sign in or register to post replies

Write your reply to:

Draft