Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
there's a way to prevent to index a document only if some conditions are true?
I try to cancel GatheringNodeData and DocumentWriting event but with no success
indexer.DocumentWriting += new EventHandler<DocumentWritingEventArgs>(indexer_DocumentWriting); private void indexer_GatheringNodeData(object sender, IndexingNodeDataEventArgs e) { if(someConditions == true){ e.Cancel = true; } } private void indexer_DocumentWriting(object sender, DocumentWritingEventArgs e) { if(someConditions == true){ e.Cancel = true; } }
any suggestion?
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.
Continue discussion
Umbraco 6.2 prevent a document index
Hi
there's a way to prevent to index a document only if some conditions are true?
I try to cancel GatheringNodeData and DocumentWriting event but with no success
any suggestion?
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.