Copied to clipboard

Flag this post as spam?

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


  • Mark 255 posts 612 karma points
    Mar 31, 2016 @ 23:43
    Mark
    0

    Media items of type File not indexing in Lucene

    Umbraco 7.4.1 site (upgraded from 6.x)

    In the media section we have thousands of files (.doc, .pdf). To search these files we use the below index. The issue we have is that under 6.x all these files are present in the index. Since upgrading to 7.4.1, only one file is found (and that has a .jpg extension, I know it could be and Image type, but it was saved as a File type).

    Rebuilding the index has no effect.

    Does anyone have any idea why this might be happening?

    Index below:

    <add name="SiteSearchMediaIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
                 supportUnpublished="false"
                 supportProtected="true" />
    
    <IndexSet SetName="SiteSearchMediaIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/{machinename}/SiteSearchMedia/">
            <IndexAttributeFields>
                <add Name="id" />
                <add Name="nodeName" />
                <add Name="updateDate" />
                <add Name="writerName" />
                <add Name="path" />
                <add Name="nodeTypeAlias" />
                <add Name="parentID" />
            </IndexAttributeFields>
            <IndexUserFields>
            </IndexUserFields>
            <IncludeNodeTypes>
                <add Name="File"/>
            </IncludeNodeTypes>
            <ExcludeNodeTypes>
            </ExcludeNodeTypes>
        </IndexSet>
    
  • Mark 255 posts 612 karma points
    Apr 04, 2016 @ 17:49
    Mark
    0

    I have an update. Really hoping someone can shed some light on this.

    I deleted the file that contained the image. Rebuilt the index. Now that index is empty.

    Now, if I save a File in the media section, it shows up in the index. But if I then "rebuild index" via the Developer section, it disappears again.

    Any ideas what the problem might be? This is affecting a go live for a customer.

  • Mark 255 posts 612 karma points
    Apr 04, 2016 @ 20:48
    Mark
    0

    Whether it's related or not, I'm getting a lots of the following in the log file when rebuilding the index:

    2016-04-04 19:10:12,673 [P7280/D2/T6] WARN  Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - No models.
    
Please Sign in or register to post replies

Write your reply to:

Draft