Since the document is automatically passed to the next processor or
the next stage available in the processing pipeline, you must make a
call to the This method stops the pipelining. If the document was already present in the Consolidation Store,
discarding it at the transformation phase does not delete it from the Consolidation Store. If
you want to discard it and ask for deletion, you can add a
In the following code snippet, the code after Recommendation:
Do not yield other documents that could have been
grabbed using a match function. Doing so would lead to undefined behavior on the receiving
end (Indexing Server for example).
@Override public void process(final IJavaAllUpdatesAggregationHandler handler, final IAggregationDocument document) throws Exception { ... if (someCondition) { ... discard(); } // Some other calls ... } For more code samples, see Discard Processor Code Samples. |