org.hibernate.search.query.dsl
Interface TermContext

All Superinterfaces:
QueryCustomization<TermContext>

public interface TermContext
extends QueryCustomization<TermContext>

Author:
Emmanuel Bernard

Method Summary
 FuzzyContext fuzzy()
          Use a fuzzy search approximation (aka edit distance)
 TermMatchingContext onField(String field)
          field / property the term query is executed on
 TermMatchingContext onFields(String... field)
           
 WildcardContext wildcard()
          Treat the query as a wildcard: - ? represents any single character - * represents any character sequence For faster results, it is recommended that the query text does not start with ? or *
 
Methods inherited from interface org.hibernate.search.query.dsl.QueryCustomization
boostedTo, filteredBy, withConstantScore
 

Method Detail

onField

TermMatchingContext onField(String field)
field / property the term query is executed on


onFields

TermMatchingContext onFields(String... field)

fuzzy

FuzzyContext fuzzy()
Use a fuzzy search approximation (aka edit distance)


wildcard

WildcardContext wildcard()
Treat the query as a wildcard: - ? represents any single character - * represents any character sequence For faster results, it is recommended that the query text does not start with ? or *



Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved