Sitecore Inbound Filtering: Is it possible to apply different rules based on different indexes?
We have multiple indexes with different crawler roots. Depending on the index being updated, we would like to be able to filter out items by URL, Title, etc.
We have a single indexing.filterIndex.inbound pipeline processor currently defined that executes on every item and any index.
So the question is how can we retrieve the current index context during an inbound filter process to apply different rules? Or maybe apply different inbound filter pipeline processors to different indexes?
See the code snippet at the end of this help page: https://developers.coveo.com/display/public/SC201504/Using+the+Coveo+Pipelines
It shows how to filter by index name, so you could had your logic in that condition. Alternatively, you could also grab the context database of the item.
Hope it helps