Copied to clipboard

Flag this post as spam?

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


  • John Moss 12 posts 92 karma points
    Jun 26, 2018 @ 15:47
    John Moss
    0

    This indexReader is Closed: Lucene AlreadyClosedException

    We have an Umbraco 7.9 site on Windows Server 2008 R2.

    We upgraded it from 7.5.8 two months ago. Now, on server reboot or occasionally on regularly scheduled app pool recycles, the Examine index doesn't return search results (on about 50% of the searches). This happens almost every week, during one of the IIS app pool recycles.

    ERROR Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not load data from Examine index for media, the app domain is most likely in a shutdown state Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed at Lucene.Net.Index.IndexReader.EnsureOpen() at Lucene.Net.Index.DirectoryReader.GetFieldNames(FieldOption fieldNames) at Examine.LuceneEngine.Providers.LuceneSearcher.GetSearchFields() in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneSearcher.cs:line 248 at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields() at Examine.LuceneEngine.Providers.BaseLuceneSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\BaseLuceneSearcher.cs:line 117 at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMediaCacheValues(Int32 id)

  • Alex Skrypnyk 4816 posts 17299 karma points MVP 2x admin c-trib
    Sep 12, 2018 @ 21:04
    Alex Skrypnyk
    0

    Hi John

    Did you solve the issue? We are experiencing the same now.

    Thanks,

    Alex

  • John Moss 12 posts 92 karma points
    Sep 14, 2018 @ 00:06
    John Moss
    0

    Hi Alex, If you go to Developer > XML Data Integrity Report, are all of your XML Cache data OK? John

  • John Moss 12 posts 92 karma points
    Sep 21, 2018 @ 15:33
    John Moss
    0

    We had to fix the XML Cache to get the indexes to stop locking up. Not sure if you are experiencing the same issue.

Please Sign in or register to post replies

Write your reply to:

Draft