PDF Indexer: programmatically add a PDF Media item to the index
Hi,
I'm using Umbraco 7 and Examine PDF Indexer 1.0.2.
We have some code to remove a PDF node from the index when all content linking to it is unpublished (using DeleteFromIndex()). That's nice and easy as it used the node id.
However when we republish we also need to reindex, and I have no idea how to trigger that. The ReIndexNode seems to require the XML to add to the index, but as that contains the extracted PDF content I'm not sure how to generate it.
Is there a simple way to trigger a reindex of a Media item by node Id?
PDF Indexer: programmatically add a PDF Media item to the index
Hi,
I'm using Umbraco 7 and Examine PDF Indexer 1.0.2.
We have some code to remove a PDF node from the index when all content linking to it is unpublished (using DeleteFromIndex()). That's nice and easy as it used the node id.
However when we republish we also need to reindex, and I have no idea how to trigger that. The ReIndexNode seems to require the XML to add to the index, but as that contains the extracted PDF content I'm not sure how to generate it.
Is there a simple way to trigger a reindex of a Media item by node Id?
Thanks Chris
is working on a reply...
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.