Copied to clipboard

Flag this post as spam?

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


  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Nov 26, 2014 @ 18:24
    Jesper Ordrup
    0

    Images missing via api but they exist in media section. Lucene index?

    The website has been running for quite a while. Suddenly images are "falling out" of the website. Missing in frontend but they are avail i backend. Also they work fine if you request them directly. It seems that the api is "out of sync":

    Example - this code returned a collection of images from a folder. Suddenly it returns nothing

       var mediaFolder =  Umbraco.Media(folderId);
        var items = mediaFolder.Children;

    Is it Lucene (which I never really liked anyway)? And can I get it back?

     

    /Jesper

     

    Umbraco 7.13 

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Nov 26, 2014 @ 19:51
    Jeavon Leopold
    100

    Hi Jesper,

    Have you tried the "rebuild index" option in the "Examine Management" dashboard for the internal and external indexers?

    Jeavon

  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Nov 26, 2014 @ 20:17
    Jesper Ordrup
    0

     I forgot about Examine Management dashboard. Thanks. I've tried it and it worked! fantastic. 

    Thank you. Owe you one more :)

    best
    Jesper 

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Nov 26, 2014 @ 20:20
    Jeavon Leopold
    0

    That's awesome! Sometimes Examine indexes corrupt, we wish it didn't and don't know why it does but it least it can easily be rebuilt now.

    Cheers,

    Jeavon

Please Sign in or register to post replies

Write your reply to:

Draft