Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6)

E21908-05

oracle.ecsf
Interface PreIndexProcessor


public interface PreIndexProcessor

The PreIndexProcessor interface should be implemented by application developers if they intend to perform data manipulation for a particular searchable object.

Its sole method preIndexProcess is called for a list of indexable documents after its has been extracted from the data source.

For example, in this method, one can perform lookup, flex field or other aggregations on the indexable document. This is batch operation, still heavy database operations should be avoided.

See Also:
IndexableDocument for more details

Method Summary
 void preIndexProcess(SearchContext ctx, java.util.List<IndexableDocument> documents)
          Called after the documents are extracted from data source and before security methods are called.
 

Method Detail

preIndexProcess

void preIndexProcess(SearchContext ctx,
                     java.util.List<IndexableDocument> documents)
Called after the documents are extracted from data source and before security methods are called. It provides an eficient way for developers to implement runtime logic an a batch mode. Document passed to you in the collections contains attributes, child documents etc.

Parameters:
ctx - runtime context.
documents - a list of IndexableDocuments to be indexed.

Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6)

E21908-05

Copyright © 2012 Oracle. All rights reserved.