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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...