Copied to clipboard

Flag this post as spam?

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


  • Jan Vanuytrecht 32 posts 80 karma points
    May 22, 2014 @ 17:50
    Jan Vanuytrecht
    0

    Examine query results => missing new property?

    Hello,

    Let me explain the scenario:

    We added a property Alt Text to the DocumentType "Image".

    On some media, we filled in that newly added property.

    We were looking for a way to make sure that when rendering images, we would NOT get a DB call.

    The following blog post put us on the right track: http://shazwazza.com/post/Ultra-fast-media-performance-in-Umbraco

     

    The suggestion is getting the properties of the media via a Examine query (using the InternalIndex).

    There, we only get the "standard" Umbraco Image properties like "umbracoBytes".

    What was missing, is the property "Alt Text"...

     

    Does anybody if I need to "add"/"expose" this newly added property?

    Or if this should be available by default, but should re-index certain caches/indexes?

     

    I'm using Umbraco v 7.0.4

    Thanks in advance :)

     

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    May 23, 2014 @ 10:11
    Ismail Mayat
    0

    Jan,

    You may need to inject those extra properties in using gatheringnodedata as I think with media items you only get the core properties in see http://thecogworks.co.uk/blog/posts/2012/november/examiness-hints-and-tips-from-the-trenches-part-2/ set it up for internal index and for media items get those extra properties and inject them.

    Regards


    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft