Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Just had some weird search results so I went to rebuild the indexes - testing first on a dev server and I get 0 results and in the log:
2015-06-17 10:08:47,664  ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 39] Provider=ExternalIndexer, NodeId=-1
System.Exception: Error indexing queue items,The given key was not present in the dictionary., IndexSet: ExternalIndexSet
Has anyone seen this before and knows how to resolve it? Looks like someone did before http://stackoverflow.com/questions/23839204/umbraco-externalindexer-not-indexing-nodes but no solution!
Have you tried deleting all the indexes in ~/App_Data/TEMP/ExamineIndexes/(Index Name)/Index/* ?
If you delete the files inside that directory but not the actual folder. Then restart the site and publish some content. They should rebuild?
Apologies if you have tried this already :)
how you have rebuild the indexes? With the default Examine dashboard in developer section?
@James - yes tried a full delete of the indexes.
@Sören - yes using that interface. It seems to hang for a few seconds and then returns but with zero nodes indexed and the error above logged.
maybe you have an error in your ExternalIndexSet. This is defined in file /config/ExamineIndex.config. Can you post here this file. Then I will have a look on it.
Quick update - after another clear out of the files it's now behaving.
I'll refrain from messing with it now I have a workaround. Thanks all.
My configs were fine - I trapped the error down to the problem where a previous dev had created an intercept on the app startup to index child content nodes against the parents. eZsearch was also installed doing the same thing which resulted in some ugly "Resolution is not frozen" errors until the indexes were built.
I've refactored and simplified this but now when the External index is built I get a
System.Exception: Error indexing queue items,Illegal characters in path
and it seems to fall over... anybody seen this before?
2015-07-02 11:07:13,463  ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 273] Provider=ExternalIndexer, NodeId=-1
System.Exception: Error indexing queue items,Illegal characters in path., IndexSet: ExternalIndexSet
For anyone else that lands here... tracked the problem to media images with funky file names. It might be something to do with the image cropper... not sure.
Basically I just wrapped a try catch in ezSearchBootstrapper.cs on the Path.GetFileName(e.Fields["umbracoFile"]); line.
// Extract the filename from media items
e.Fields["umbracoFileName"] = Path.GetFileName(e.Fields["umbracoFile"]);
// do nothing
Still testing but it seems to have nailed it.
Steve, I just had the exact same problem. You save lives. This worked like magic.
I'm pretty confident that the problem is trying this with Image Cropper. On our site, we changed our umbracoFile to use Image Cropper instead of the default upload property editor. This means that a bunch of JSON is being indexed in the umbracoFile field.
Glad to hear my pain is helping others Mark!
I've marked that as a solution as it definitely fixed the issue I had.
Just want to say thanks, had the same problem on one of our older umbraco sites, ezsearch returning no results.
Adding the try catch block fixed the error.
This is really random though, we've had no issues with ezsearch before!!
Thanks again though
Having the same issues as above but unfortunately the solutions are not working. The search returning no results for almost everything.
Can you please help?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted