How can I customize Search?
All search related functionalities are located in *Indexer.java
according to the best practice. This document explains the key methods to tune Search for your requirements.
Key classes and methods
Class | Method name | details |
---|---|---|
*Indexer | *Indexer(Constructor) | Configuring default permissions to the entity. |
*Indexer | hasPermission | Checking permissions for the search results. |
*Indexer | isVisible | Checking workflow status for the search results. |
*Indexer | doGetDocument | Mapping indexed text / keyword to search. |
*Indexer | doGetSummary | Configuring summary to be displayed in search portlet. |
*Indexer | doReindex | Called at reindexing. |
*Indexer | reindexEntries | Configuring how to be indexed. |
For more details, please see the official document.
What’s next?
Let’s learn more details of permission.