Copied to clipboard

Flag this post as spam?

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


  • Thijs 97 posts 117 karma points
    Nov 03, 2011 @ 12:19
    Thijs
    0

    Lucene examine only first top node

    I have problems configuring a search index on my website. It seems like my index is only indexing the first top level node. I have a multilanguage site, so only my first language get indexed. Does anyone has any solutions to this? See below for my configuration code.

    Kind regards

    Thijs

    ExamineIndex.config

    <ExamineLuceneIndexSets>
    
      <IndexSet SetName="SiteIndexSet" IndexPath="~/App_Data/ExamineIndexes/GlobalSiteSearch/">
        <IndexAttributeFields>
          <!-- Empty: All attributes-->
        </IndexAttributeFields>
        <IndexUserFields>
          <!-- Empty: All properties-->
        </IndexUserFields>
        <IncludeNodeTypes/>
        <ExcludeNodeTypes />
      </IndexSet>
    
    </ExamineLuceneIndexSets>
    

    ExamineSettings.config

    <Examine>
    
      <ExamineIndexProviders>
        <providers>
          <add name="SiteIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
               supportUnpublished="false"
               supporProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
        </providers>
      </ExamineIndexProviders>
    
      <ExamineSearchProviders defaultProvider="InternalSearcher">
        <providers>
          <add name="SiteSearcher"
               type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
        </providers>
      </ExamineSearchProviders>
    
    </Examine>
    

    Content

  • Thijs 97 posts 117 karma points
    Nov 03, 2011 @ 12:25
    Thijs
    0

    *Edit: Can't edit my post but I forget to remove the InternalSearch of Umbraco in the code example of ExamineSettings.config.

    Update: The database log table gives me this output every 10 seconds: 

    [UmbracoExamine] Error indexing queue items,
    The given key was not present in the dictionary., IndexSet: SiteIndexSet
  • Thijs 97 posts 117 karma points
    Nov 07, 2011 @ 14:21
    Thijs
    0

    When changing the order of the top level nodes, the search works. After changing them back to the original place, the search is still working.

    To get rid of the error, I downloaded the newest dll's here, this just gave me an error so I removed them back and used the original from Umbraco 4.7.1 and suddenly everything works. I guess something went wrong on upgrading from 4.7.0 to 4.7.1.

    I hope this post is useful for someone who is getting this error after me.

     

    Thijs

Please Sign in or register to post replies

Write your reply to:

Draft