Copied to clipboard

Flag this post as spam?

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


  • David Armitage 414 posts 1655 karma points
    Dec 30, 2020 @ 23:49
    David Armitage
    0

    Umbraco 8 Examine programmatically re-index specific node

    Hi All,

    Does anyone know how to trigger a re-index on a specific node or node Id only?

    I have an adding some fields into the search index (IndexProviderTransformingIndexValues) and I have an extra requirement where I need to trigger a re-index of a specific node (ONLY).

    I know I could just re-publish that node to achieve the same thing but I don't really need to do that and create the unnecessary history etc.

    The calculated field I have added into the index that I need to update/re-index is calculated based on data external to this specific node (but related) that's why I don't really need to re-publish but instead just need to update the value stored in the index related to this specific node.

    If there is some way I can trigger the TransformingIndexValues event for a specific node without having to re-publish the node that would be awesome.

    Thanks in advanced

    Kind Regards

    David

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies