The Indexer Post Processor sample demonstrates using the IndexerPostProcessor
interface, which is provided to customize search queries and documents before
they're sent to the search engine, and/or customize result summaries when
they're returned to end users.
For more details on this sample, see the Indexer Post Processor article on Liferay's Developer Network.