Triggered when an entity instance T should be added to the index, either by an event listener or by the MassIndexer. This is not triggered by an explicit API call such as FullTextSession.index(T).
@param entity The entity instance
@return Return {@link IndexingOverride#APPLY_DEFAULT} to have the instance be added to the index as normal; return adifferent value to override the behaviour.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.