Copied to clipboard

Flag this post as spam?

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


  • NDDT 68 posts 240 karma points c-trib
    Jul 26, 2016 @ 14:55
    NDDT
    0

    Reindex one Node Examine

    I want to reindex just one Node. I have the Id. Does anyone have any sample code?

    I found this function:

    ExamineManager.Instance.IndexProviderCollection[BLK.INDEXERNAME].ReIndexNode
    

    But I cant make any sense of the expected Parameters. Did anybody ever use it and could provide documentation or an example?

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    Jul 26, 2016 @ 18:16
    Søren Kottal
    2

    I have used like this:

    ExamineManager.Instance.IndexProviderCollection["ProductsIndexer"].ReIndexNode(mySimpleDataSet.RowData.ToExamineXml(node.Id, "Product"), "Product");
    

    The first parameter takes a SimpleDataSet, which contains a NodeDefinition (IndexedNode) and RowData, which is a Dictionary

Please Sign in or register to post replies

Write your reply to:

Draft