Copied to clipboard

Flag this post as spam?

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


  • Rich Green 2246 posts 4008 karma points
    Oct 18, 2010 @ 18:15
    Rich Green
    0

    Help upgrading Examine from RC3 to RTM 1.0

    Hi,

    I've copied the following files into a standard 4.5.2 install:

    bin/Examine.dll
    bin/Examine.pdb
    Lucene.Net.dll
    UmbracoExamine.dll
    UmbracoExamine.pdb

    I've not changed any of the configuration in the web.config / ExamineSettings.config / ExamineIndex.config as the documentation mentions that the configuration settings are backwards compatible.

    My new nodes get indexed correctly (viewing using luke) however the back end internal search returns no results?

    There are no related errors in the logs.

    I'm looking to get this working first as I have some work to do against the API and want to use the latest version.

    Many thanks

    Rich

     

     

  • Rich Green 2246 posts 4008 karma points
    Oct 20, 2010 @ 17:03
    Rich Green
    0

    Sorted this, thanks to Shannon 

    For reference, I had to change the internal search/indexer to use StandardAnalyzer

    Here's the code that works for me (ExamineSettings.config)

    <Examine>
      <ExamineIndexProviders>
        <providers>
          <add name="InternalIndexer" type="UmbracoExamine.LuceneExamineIndexer, UmbracoExamine"
               runAsync="true"
               supportUnpublished="true"
               supportProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, 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"/>
        </providers>
      </ExamineIndexProviders>
      <ExamineSearchProviders defaultProvider="InternalSearcher">
        <providers>
          <add name="InternalSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>
          <add name="InternalMemberSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true"/>           
        </providers>
      </ExamineSearchProviders>
    </Examine>

    Rich

Please Sign in or register to post replies

Write your reply to:

Draft