Copied to clipboard

Flag this post as spam?

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


  • Jacek 1 post 71 karma points
    Feb 13, 2018 @ 12:07
    Jacek
    0

    Umbraco search Lucene randomly fails to work with some indexes

    We've got an umbraco site working in the AZURE production environment and we use Lucene to search for the big amount of data on the site. We create indexes (rebuild and update them) and the thing is the Lucene just randomly fails to look for some of them just sometimes... The only piece of log I can give is:

    2017-11-10 13:50:12,710 [P11168/D2/T10] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 39687 from Examine index, reverting to looking up media via legacy library.GetMedia method 2017-11-10 13:50:45,988 [P11168/D2/T89] WARN Umbraco.Web.Mvc.RenderMvcController - No physical template file was found for template Web/So/Event 2017-11-10 13:51:13,797 [P11168/D2/T67] INFO umbraco.content - Save Xml to file... 2017-11-10 13:51:14,219 [P11168/D2/T46] INFO umbraco.content - Saved Xml to file. 2017-11-10 13:51:21,991 [P11168/D2/T166] ERROR eBiletPortal.Search.CustomContentIndexer - Błąd indeksowania elementu: 39787 System.NullReferenceException: Object reference not set to an instance of an object. at Portal.Search.CustomContentIndexer.CustomContentIndexer_DocumentWriting(Object sender, DocumentWritingEventArgs e) in C:\TeamCity\buildAgent\work\c8839ecee33fc77e\src\Portal\Portal.Search\CustomContentIndexer.cs:line 54

    Did anyone have met with something similar?

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 14, 2018 @ 16:28
    Alex Skrypnyk
    0

    Hi Jacek

    Are you using library.GetMedia method?

    Can you share CustomContentIndexer.cs class?

    /Alex

Please Sign in or register to post replies

Write your reply to:

Draft