Interface RegexpPredicateOptionsStep<S extends RegexpPredicateOptionsStep<?>>

  • Type Parameters:
    S - The "self" type (the actual exposed type of this step).
    All Superinterfaces:
    PredicateFinalStep, PredicateScoreStep<S>

    public interface RegexpPredicateOptionsStep<S extends RegexpPredicateOptionsStep<?>>
    extends PredicateFinalStep, PredicateScoreStep<S>
    The final step in a "regexp" predicate definition, where optional parameters can be set.
    • Method Detail

      • flags

        default S flags​(RegexpQueryFlag... flags)
        Enable operation in the given flags.
        Parameters:
        flags - The operation flags.
        Returns:
        this, for method chaining.
      • flags

        S flags​(Set<RegexpQueryFlag> flags)
        Enable operation in the given flags.
        Parameters:
        flags - The operation flags.
        Returns:
        this, for method chaining.