Copied to clipboard

Flag this post as spam?

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


  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 11, 2011 @ 13:57
    Hendy Racher
    1

    Publish At and Custom Indexes

    Hi,

    Does anyone have the built-in Publish At functionality working with custom indexes (Umbraco v.4.5.2) ?

    I've noticed the following scenarios:

    When the custom index is configured to only index published nodes, then the indexing events are never called ! (The internal Lucene index is updated, but none of the custom ones). The timed publish seems to update the internal XML cache (as the page can be viewed), but the umbraco.config xml file itself isn't updated (this also seems to cause problems accessing the data via the nodeFactory).

    When the custom index is configured to index unpublished nodes, then on save the custom indexes are updated, although when the timed publish event is executed, the indexing event that attempts to read data (either by the nodeFactory or via the Document API) is unable to fetch property values - hence indexing data that was present on the initial save is then wiped.

    Incidently, any manual save & publish of the node in question, or rebuild of the indexes causes the custom indexes to be updated correctly.

    Anyone have any suggestions for how best to maintain custom indexes when using the scheduled Publish At functionality ?

    Many thanks,

    Hendy

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 26, 2011 @ 12:56
    Hendy Racher
    0

    Have upgraded to Umbraco 4.7.0, but still experiencing the same issues.

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    May 26, 2011 @ 15:45
    Shannon Deminick
    0

    This depends on how Umbrac dispatches events during the scheduled process. Potentially this doesn't run in a web context which could cause issues, but TBH I'm not really sure. would have to check the Umbraco source.

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 26, 2011 @ 16:39
    Hendy Racher
    0

    Thanks Shannon, will investigate further into the Umbraco source...

Please Sign in or register to post replies

Write your reply to:

Draft