org.hibernate.search.query.dsl.v2
Interface QueryBuilder

All Known Implementing Classes:
ConnectedQueryBuilder

public interface QueryBuilder

Author:
Emmanuel Bernard

Method Summary
 AllContext all()
          Query matching all documents Typically mixed with a boolean query.
 BooleanJunction<BooleanJunction> bool()
          Boolean query
 TermContext exact()
          build a term query
 FuzzyContext fuzzy()
          Use a fuzzy search approximation (aka edit distance)
 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 *
 

Method Detail

exact

TermContext exact()
build a term query


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 *


bool

BooleanJunction<BooleanJunction> bool()
Boolean query


all

AllContext all()
Query matching all documents Typically mixed with a boolean query.



Copyright © 2006-2010 Hibernate. All Rights Reserved.