public class FullTextQuery extends Object implements Query
Query realizing a full-text search on contents (search on all properties).
 Available operators:Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description | 
|---|---|
protected String | 
_language
The language. 
 | 
protected Query.Operator | 
_operator
The operator. 
 | 
protected String | 
_value
The value to test. 
 | 
| Constructor and Description | 
|---|
FullTextQuery(String value)
Build a FullTextQuery. 
 | 
FullTextQuery(String value,
             Query.Operator operator)
Build a FullTextQuery. 
 | 
FullTextQuery(String value,
             String language)
Build a FullTextQuery. 
 | 
FullTextQuery(String value,
             String language,
             Query.Operator operator)
Build a FullTextQuery. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
build()
Build the solr query string representing the Query object. 
 | 
String | 
getLanguage()
Get the language. 
 | 
Query.Operator | 
getOperator()
Get the operator to use. 
 | 
String | 
getValue()
Get the value. 
 | 
protected Query.Operator _operator
public FullTextQuery(String value)
value - the value.public FullTextQuery(String value, Query.Operator operator)
value - the value.operator - The operator to use.public FullTextQuery(String value, String language)
value - the value.language - the language.public FullTextQuery(String value, String language, Query.Operator operator)
value - the value.language - the language.operator - The operator to use.public String getLanguage()
public Query.Operator getOperator()
public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.