Interface TermContext

    • Method Detail

      • onField

        TermMatchingContext onField​(String field)
        Deprecated.
        Parameters:
        field - The field name the term query is executed on
        Returns:
        TermMatchingContext to continue the term query
      • onFields

        TermMatchingContext onFields​(String... field)
        Deprecated.
        Parameters:
        field - The field names the term query is executed on. The underlying properties for the specified fields need to be of the same type. For example, it is not possible to use this method with a mixture of string and date properties. In the mixed case an alternative is to build multiple term queries and combine them via QueryBuilder.bool()
        Returns:
        TermMatchingContext to continue the term query
      • fuzzy

        FuzzyContext fuzzy()
        Deprecated.
        Use a fuzzy search approximation (aka edit distance)
        Returns:
        FuzzyContext to continue the fuzzy query
      • wildcard

        WildcardContext wildcard()
        Deprecated.
        Treat the query as a wildcard query which means:
        • '?' represents any single character
        • '*' represents any character sequence
        For faster results, it is recommended that the query text does not start with '?' or '*'.
        Returns:
        WildcardContext to continue the wildcard query