Copied to clipboard

Flag this post as spam?

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


  • Flavio Spezi 129 posts 315 karma points
    Feb 14, 2015 @ 13:04
    Flavio Spezi
    0

    Content / RepublishEntireSite: what is it?

    Content / RepublishEntireSite, what is it?

    I know that it regen "AppData/Umbraco.config". Maybe "AppData/Access.config" also?

    When "umbraco.config" is used?
    When "Examine" is used instead of "umbraco.config"?

    I'm confused... I would to understand when I need to regen Examine indexes, or when invoke "Rebuild entire site".

    Thanks.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 14, 2015 @ 13:20
    Jan Skovgaard
    100

    Hi Flavio

    the Umbraco.config file is the XML based content cache and when you use the "Republish entire site" option you update the XML cache so the content rendered by either XSLT or Razor is up to date.

    The Examine index is used for quyering the content. It's used in the Umbraco backoffice search and you can hook into for building your own search used on the frontpage as well. The EZSearch package is using the Examine indexes for instance.

    You can learn a lot more about Examine in this article by Peter Gregory http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine

    I hope this makes things more clear :)

    /Jan

  • Flavio Spezi 129 posts 315 karma points
    Feb 14, 2015 @ 14:15
    Flavio Spezi
    0

    Thanks Jan.

    Very useful.

    One last question:
    Then, in Razor, this code uses App_Code/umbraco.config, is it true?

    var node = Umbraco.TypedContent(1234);
    var childs = node.Children;
    var anyChilds = node.Descendants();
    
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 18, 2015 @ 08:17
    Jan Skovgaard
    0

    Hi Flavio

    Sorry for the late reply - Just went through the mailbox and could see this one was hiding.

    But yes that is correct. If the content cache is not up to date you won't be able to render it untill the cache has been republished.

    /Jan

  • Flavio Spezi 129 posts 315 karma points
    Feb 18, 2015 @ 08:33
    Flavio Spezi
    0

    Thanks @Jan

Please Sign in or register to post replies

Write your reply to:

Draft