Package | Description |
---|---|
org.modeshape.jcr.index.lucene.query | |
org.modeshape.jcr.query.model |
The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
|
org.modeshape.jcr.query.parse |
This package defines the
QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation. |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Query |
LuceneQueryFactory.TextQueryFactory.createQuery(String fieldName,
FullTextSearch.Term term) |
Modifier and Type | Class and Description |
---|---|
static class |
FullTextSearch.CompoundTerm
A list of
FullTextSearch.Term s. |
static class |
FullTextSearch.Conjunction
A set of
FullTextSearch.Term s that are ANDed together. |
static class |
FullTextSearch.Disjunction
A set of
FullTextSearch.Term s that are ORed together. |
static class |
FullTextSearch.NegationTerm
A
FullTextSearch.Term that represents a search term that requires another term to not appear. |
static class |
FullTextSearch.SimpleTerm
A
FullTextSearch.Term that represents a single search term. |
Modifier and Type | Method and Description |
---|---|
FullTextSearch.Term |
FullTextSearch.NegationTerm.getNegatedTerm()
Get the term that is negated.
|
FullTextSearch.Term |
FullTextSearch.getTerm()
Get the formal
FullTextSearch.Term representation of the expression. |
Modifier and Type | Method and Description |
---|---|
List<FullTextSearch.Term> |
FullTextSearch.CompoundTerm.getTerms()
Get the terms that make up this compound term.
|
Iterator<FullTextSearch.Term> |
FullTextSearch.CompoundTerm.iterator() |
Constructor and Description |
---|
FullTextSearch(SelectorName selectorName,
String propertyName,
StaticOperand fullTextSearchExpression,
FullTextSearch.Term term)
Create a constraint defining a full-text search against the property values on node within the search scope.
|
FullTextSearch(SelectorName selectorName,
String propertyName,
String fullTextSearchExpression,
FullTextSearch.Term term)
Create a constraint defining a full-text search against the property values on node within the search scope.
|
NegationTerm(FullTextSearch.Term negatedTerm) |
Constructor and Description |
---|
CompoundTerm(List<FullTextSearch.Term> terms)
Create a compound term of the supplied terms.
|
Conjunction(List<FullTextSearch.Term> terms)
Create a conjunction of the supplied terms.
|
Disjunction(List<FullTextSearch.Term> terms)
Create a disjunction of the supplied terms.
|
Modifier and Type | Method and Description |
---|---|
FullTextSearch.Term |
FullTextSearchParser.parse(String fullTextSearchExpression)
Parse the full-text search criteria given in the supplied string.
|
FullTextSearch.Term |
FullTextSearchParser.parse(TokenStream tokens)
Parse the full-text search criteria from the supplied token stream.
|
protected FullTextSearch.Term |
FullTextSearchParser.parseDisjunctedTerms(TokenStream tokens) |
protected FullTextSearch.Term |
BasicSqlQueryParser.parseFullTextSearchExpression(String expression,
Position startOfExpression) |
protected FullTextSearch.Term |
FullTextSearchParser.parseTerm(TokenStream tokens) |
Modifier and Type | Method and Description |
---|---|
protected FullTextSearch |
BasicSqlQueryParser.fullTextSearch(SelectorName name,
String propertyName,
String expression,
FullTextSearch.Term term) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.