Interface LeafQueryGenerator

All Known Implementing Classes:
LeafQueryGenerator.KeywordQueryGenerator, LeafQueryGenerator.MatchOnlyTextQueryGenerator, LeafQueryGenerator.TextQueryGenerator, LeafQueryGenerator.WildcardQueryGenerator

public interface LeafQueryGenerator
  • Method Details

    • generate

      List<QueryBuilder> generate(Map<String,Object> fieldMapping, String path, Object value)
    • buildForType

      static LeafQueryGenerator buildForType(String type, MappingPredicates mappingPredicates)
      Build a query for a specific type. If the field is nested, this query will need to be wrapped in nested queries.
      Parameters:
      type - the type to build a query for
      Returns:
      a generator that can build queries for this type
    • containsHighSurrogates

      static boolean containsHighSurrogates(String s)