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

E21908-02

oracle.ecsf
Interface PostQueryProcessor


public interface PostQueryProcessor

PostQueryProcessor interface should be implemented by the search plugin if developers intend to perform some extra tasks on the resulthits before it is returned.

Its sole method queryPostProcess is called before the search hits is returned to caller. Developers can perform any tasks on the result hits, such as filtering, display, personalization as well as resolve URL etc.

The search hits belongs to a searchable object which can be obtained from the search context passed in.

See Also:
SearchHits, IndexedDocument

Method Summary
 void queryPostProcess(SearchContext ctx, SearchHits searchHits)
          If implemented, this method is called after a query returned from a search engine.
 

Method Detail

queryPostProcess

void queryPostProcess(SearchContext ctx,
                      SearchHits searchHits)
If implemented, this method is called after a query returned from a search engine.

This method is called before the result hits is displayed to the user. Developers can filter out docs that should not be displayed, or apply any transformation to the indexed documents in the list.

Parameters:
ctx - query time context.
searchHits - searchHits for a particular search.

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

E21908-02

Copyright © 2011 Oracle. All rights reserved.