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?
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??
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:
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
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
is working on a reply...