Copied to clipboard

Flag this post as spam?

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


  • smriti 32 posts 103 karma points
    Sep 01, 2017 @ 10:30
    smriti
    0

    Examine Search for Umbraco 4 and 6 version

    I have websites in Umbraco versions 4 and 6 which are using google site search API as internal search. Now that google is discontinuing GSS, we are looking for alternatives for it.

    From my analysis so far, I have found many services like Cludo, swifttype, sitesearch360 etc. but the problem is these all are offering very advanced features with very high prices. The search we are expecting is very simple. Please suggest if anyone is aware about any such service which is not too costly.

    Apart from this, I was considering to use Examine search for this purpose and I have already developed a simple code which is working perfectly. The only problem with it is I can't figure out how to search within PDF files present in media section. Any idea how to do it?

  • Simon Dingley 1470 posts 3427 karma points c-trib
    Sep 01, 2017 @ 10:56
    Simon Dingley
    0

    I've never done it but I believe it is possible. Perhaps take a look at this project:

    https://github.com/umbraco/UmbracoExamine.PDF

  • smriti 32 posts 103 karma points
    Sep 05, 2017 @ 10:59
    smriti
    0

    Thanks for the response Simon. I was able to implement PDF search using your suggestion on one of my sites using Umbraco version 6.1.6 but I don't see it working on sites on version 4.11.10.

    I even checked by installing the Examine Dashboard package but it gives error for version 4 Umbraco. I removed all my custom created indexers and searchers from config files but it still gives error for default configuration. Does version 4 requires any additional configuration settings?

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 07:54
    smriti
    0

    I just the folder structure of my version 6 site with version 4 site and I don't see the examine under folder under TEMP for version 4 site. Anyone having any idea how to fix this?

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Sep 07, 2017 @ 08:37
    Ismail Mayat
    0

    smirti,

    Can you take a look at your log file or table cannot remember where v4 logs to. See if you get any errors for indexing pdfs.

    Also can you double check the version of UmbracoExamine.pdf is compatible with the v4 version of umbraco.

    Regards

    Ismail

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 08:46
    smriti
    0

    The thing is I haven't added the UmbracoExamine.pdf related code to my 4 version sites. Infact i haven't done any examine related configuration yet. The site has the default configuration right now but I don't see the ExamineIndexes folder inside TEMP on physical path.

    This shouldn't be the case right? This folder should be present under TEMP folder.

  • Simon Dingley 1470 posts 3427 karma points c-trib
    Sep 07, 2017 @ 08:55
    Simon Dingley
    0

    Check your ExamineIndex.config to see where they are being written to. There will be a path in there to indicate where you should be looking for the indexes.

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Sep 07, 2017 @ 09:08
    Ismail Mayat
    0

    Ah ok yes you should have indexes. try republishing xml cache then rebuild the indexes. I think for v4 you may need to install https://our.umbraco.org/projects/developer-tools/examine-dashboard/ to help you do this please note v0.1 is for Umbraco 4.7.0 - v0.2 is for Umbraco 4.7.1

    Regards

    Ismail

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 09:54
    smriti
    0

    It indicates /App_Data/TEMP/ExamineIndexes, the same path I'm checking. Really strange that this folder is not getting created.

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 10:03
    smriti
    0

    I already installed the package v1.0 since my Umbraco version is 4.11.10 but it gives error, screenshot below: enter image description here

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 10:05
    smriti
    0

    It says ~/App_Data/TEMP/ExamineIndexes/ which is the same location I'm searching in. Really strange that the folder is not getting created.

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 10:09
    smriti
    0

    ExamineSettings.config: enter image description here

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Sep 07, 2017 @ 10:37
    Ismail Mayat
    0

    Can you take a look in your log file any errors there?

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 10:49
    smriti
    0

    ERROR Umbraco.Web.UmbracoApplication - [Thread 9] An unhandled exception occurred System.TypeInitializationException: The type initializer for 'Examine.ExamineManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Method not found: 'Umbraco.Core.Services.ServiceContext Umbraco.Core.ApplicationContext.getServices()'. (D:\http\13\com.halyarddental\root\config\ExamineSettings.config line 12) ---> System.MissingMethodException: Method not found: 'Umbraco.Core.Services.ServiceContext Umbraco.Core.ApplicationContext.getServices()'. at UmbracoExamine.DataServices.UmbracoMediaService..ctor() at UmbracoExamine.DataServices.UmbracoDataService..ctor() at UmbracoExamine.BaseUmbracoIndexer.Initialize(String name, NameValueCollection config) at UmbracoExamine.UmbracoContentIndexer.Initialize(String name, NameValueCollection config) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) --- End of inner exception stack trace --- at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType) at Examine.ExamineManager.LoadProviders() at Examine.ExamineManager..cctor() --- End of inner exception stack trace --- at ASP.usercontrolsindexstatusascx.DataBindcontrol19(Object sender, EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at FergusonMoriyama.Umbraco.ExamineGui.UserControls.IndexStatus.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • smriti 32 posts 103 karma points
    Sep 07, 2017 @ 10:53
    smriti
    0

    ERROR Umbraco.Web.UmbracoApplication - [Thread 9] An unhandled exception occurred System.TypeInitializationException: The type initializer for 'Examine.ExamineManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Method not found: 'Umbraco.Core.Services.ServiceContext Umbraco.Core.ApplicationContext.getServices()'. (D:\http\13\com.halyarddental\root\config\ExamineSettings.config line 12) ---> System.MissingMethodException: Method not found: 'Umbraco.Core.Services.ServiceContext Umbraco.Core.ApplicationContext.getServices()'. at UmbracoExamine.DataServices.UmbracoMediaService..ctor() at UmbracoExamine.DataServices.UmbracoDataService..ctor() at UmbracoExamine.BaseUmbracoIndexer.Initialize(String name, NameValueCollection config) at UmbracoExamine.UmbracoContentIndexer.Initialize(String name, NameValueCollection config) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) --- End of inner exception stack trace --- at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType) at Examine.ExamineManager.LoadProviders() at Examine.ExamineManager..cctor() --- End of inner exception stack trace --- at ASP.usercontrolsindexstatusascx.DataBindcontrol19(Object sender, EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at FergusonMoriyama.Umbraco.ExamineGui.UserControls.IndexStatus.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • smriti 32 posts 103 karma points
    Sep 11, 2017 @ 10:20
    smriti
    0

    Anyone able to understand the issue here? Below is the error I see in logs:

    An unhandled exception occurred System.TypeInitializationException: The type initializer for 'Examine.ExamineManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Object reference not set to an instance of an object. (D:\http\13\com.halyarddental\root\config\ExamineSettings.config line 12) ---> System.NullReferenceException: Object reference not set to an instance of an object. at UmbracoExamine.DataServices.UmbracoContentService.GetAllUserPropertyNames() at UmbracoExamine.Config.IndexSetExtensions.ToIndexCriteria(IndexSet set, IDataService svc) at Examine.LuceneEngine.Providers.LuceneIndexer.Initialize(String name, NameValueCollection config) at UmbracoExamine.BaseUmbracoIndexer.Initialize(String name, NameValueCollection config) at UmbracoExamine.UmbracoContentIndexer.Initialize(String name, NameValueCollection config) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) --- End of inner exception stack trace --- at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType) at Examine.ExamineManager.LoadProviders() at Examine.ExamineManager..cctor() --- End of inner exception stack trace --- at ASP.usercontrolsindexstatusascx.DataBindcontrol19(Object sender, EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at FergusonMoriyama.Umbraco.ExamineGui.UserControls.IndexStatus.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Sep 11, 2017 @ 11:35
    Ismail Mayat
    0

    take a look at source code or download a zip of the old v4 umbraco you have. Then open the examine configs and compare with yours. You may need to update them.

  • smriti 32 posts 103 karma points
    Sep 11, 2017 @ 12:14
    smriti
    0

    Thanks for the response Ismail.

    I compared both configs but everything is same. The problem, as I have already mentioned, is that the ExamineIndexes folder itself is not getting created. I have 6-7 websites with same Umbraco version and none of them have this folder and I have checked dashboard package on 3 websites resulting in same error on all.

  • smriti 32 posts 103 karma points
    Sep 12, 2017 @ 10:53
    smriti
    0

    Hi Ismail

    Thanks for response. I downloaded the zip and compared all code files with my source code. Compared all configs as well but I don't see any relevant difference :(

    This is getting really frustrating. The ExamineIndex folder is not being created on my physical path. This is happening for all five version 4 websites that I have. The error which I posted previously, as per my understanding, is because ExamineManager cannot find the index as they are never created.

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Sep 12, 2017 @ 11:21
    Ismail Mayat
    0

    Smriti,

    I think in older v4 the indexes were created in another directory and not App_data. If I remember rightly there used to be a separate data folder and the indexes and xml cache file used to live there?

    Regards

    Ismail

  • smriti 32 posts 103 karma points
    Sep 12, 2017 @ 11:36
    smriti
    0

    The default Examine config settings indicate the path as App_Data/Temp/ExamineIndexes so I don't think there should be any other path. Still I searched the whole source code for a folder having examine keyword in its name but nothing comes up. Are you aware of any other alternatives for site search? My aim is to implement site search, approach doesn't matter.

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Sep 12, 2017 @ 11:58
    Ismail Mayat
    0

    Ok try uninstalling dashboard and try https://our.umbraco.org/projects/backoffice-extensions/examine-index-admin/ see if the rebuilds. Also in your app_data do you have umbraco cache file?

    Regards

    Ismail

  • smriti 32 posts 103 karma points
    Sep 12, 2017 @ 12:32
    smriti
    0

    Look what happened when I uninstalled the package :D enter image description here

    Anyways, I installed your package but got the same error. I believe you are asking me to check the Umbraco.config file in App_Data. If it is the one then yes, I can see that it is present for the website where I am trying to implement examine and with the datestamp of today. Its missing on other websites though.

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Sep 12, 2017 @ 12:54
    Ismail Mayat
    0

    Smrti,

    Any errors in the umbraco log file or umbracolog table? I cannot remember where it logs in that version.

    Regards

    Ismail

  • smriti 32 posts 103 karma points
    Sep 13, 2017 @ 04:28
    smriti
    0

    There are no errors reported in UmbracoLog table in database. The only error I see is when I check server logs which I have already posted previously.

Please Sign in or register to post replies

Write your reply to:

Draft