org.hibernate.search.query.dsl
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 keyword()
          build a term query
 PhraseContext phrase()
          find an sentence (words can be inversed according to the slop factor
 RangeContext range()
          find matching elements within a range
 

Method Detail

keyword

TermContext keyword()
build a term query


range

RangeContext range()
find matching elements within a range


phrase

PhraseContext phrase()
find an sentence (words can be inversed according to the slop factor


bool

BooleanJunction<BooleanJunction> bool()
Boolean query


all

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



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