Interface MassIndexerFilteringTypeStep

  • All Known Subinterfaces:
    MassIndexerReindexParameterStep

    public interface MassIndexerFilteringTypeStep
    This step allows to define a filter on entities of a given type that has to be re-indexed
    • Method Detail

      • reindexOnly

        MassIndexerReindexParameterStep reindexOnly​(String conditionalExpression)
        Use a JPQL/HQL conditional expression to limit the entities to be re-indexed.

        The letter e is supposed to be used here as query alias. For instance a valid expression could be the following:

             e.manager.level < 2
         
        To filter instances that have a manager whose level is strictly less than 2.
        Parameters:
        conditionalExpression - A JPQL/HQL query text which express the condition to apply
        Returns:
        A new step to define optional parameters for the JPQL/HQL conditional expression or other expressions.