Copied to clipboard

Flag this post as spam?

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


  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Apr 26, 2011 @ 23:05
    Bo Damgaard Mortensen
    0

    Examine problems

    Hi all,

    Currently trying to get my head around Examine for searching through nodes in Umbraco. However I'm running my head against the wall on a few problems.

    First off, I get an error telling me that:

     

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

    Parser Error Message: The type initializer for 'UmbracoExamine.Config.ExamineLuceneIndexes' threw an exception.

    Source Error: 

    Line 10:   <ExamineIndexProviders>
    Line 11: <providers>
    Line 12: <add name="InternalIndexer" type="UmbracoExamine.LuceneExamineIndexer, UmbracoExamine"
    Line 13: runAsync="true"
    Line 14: supportUnpublished="true"

    I'm just using the built-in examine dll's that comes with Umbraco 4.5.2 for .Net version 3.5. Has anyone experienced this before? :-)

    Also, as a side question. How do I go about fetching the search results for my repeater control? I've watched the videos in umbraco.tv, but ExamineManager.Instance.SearchProviderCollection["RecipeSearcher"].Search(filter); can't be cast as an IEnumerable as shown in the video?

    Any help on this is greatly appreciated!

    All the best,

    Bo

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Apr 27, 2011 @ 10:06
    Ismail Mayat
    0

    Bo,

    I have seen that error before its due to using different version of the config file with different version of examine. I would download latest version from codeplex and use the config docs from codeplex. The second issue may also be due to version??

    Regards

     

    Ismial

Please Sign in or register to post replies

Write your reply to:

Draft