Copied to clipboard

Flag this post as spam?

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


  • sim0n20 7 posts 27 karma points
    Dec 09, 2010 @ 07:34
    sim0n20
    0

    Examine Problem

    Hey,

    I have just installed umbraco 4.5 and i am trying to create my own examine index without much luck, i have tried following a couple of different guides but my index doesn't ever get created on publish of the website.

    I have added the following sections to the examine config files

     

    <Examine>

      <ExamineIndexProviders>

         <providers>

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

    runAsync="true"

    enabled="true"

            supportUnpublished="false"

            supportProtected="true"

            interval="10"

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

       </providers>

      </ExamineIndexProviders>

      <ExamineSearchProviders defaultProvider="InternalSearcher">

    <providers>

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

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

        </providers>

      </ExamineSearchProviders>

    </Examine>

     

    <ExamineLuceneIndexSets>

     <IndexSet SetName="MySiteIndexSet" IndexPath="~/App_Data/ExamineIndexes/UKIndex/">

          <IndexAttributeFields>

            <add Name="id" />

            <add Name="nodeName" />

            <add Name="updateDate" />

            <add Name="writerName" />

            <add Name="path" />

            <add Name="articleBody" />

            <add Name="nodeTypeAlias" />

            <add Name="parentID" />

          </IndexAttributeFields>

          <IndexUserFields />

          <IncludeNodeTypes/>

          <ExcludeNodeTypes />

        </IndexSet>

    </ExamineLuceneIndexSets>

     

    From what i had read, i thought that once i had added these sections that on republish of my website the index would be created. Am i missing something?

    Any help would be greatly appreciated.

    Thanks

    Simon

     

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Dec 09, 2010 @ 14:08
    Aaron Powell
    1

    Check your umbracoLog table, that'll list the number of Examine providers which are registered

    Also, check your Queue folder to see if there are any files in there.

    Lastly turn async off on your indexer and try a publish, this will mean that any errors during the indexing phase will be added into the umbracoLog table (it can't log errors when running async)

  • overflew 87 posts 110 karma points
    Dec 12, 2010 @ 11:07
    overflew
    0

    Ah - Cheers for the async note - will try that...

Please Sign in or register to post replies

Write your reply to:

Draft