|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleLuceneCriterion
The interface of a criterion bean.
This component defines an interface for searching. The idea is to abstract the process of searching into a Bean to be manipulated by CForms.
Field Summary | |
---|---|
static String |
ALL_MATCH
The ALL_MATCH name of this bean. |
static String |
ANY_FIELD
The ANY_FIELD name of this bean. |
static String |
ANY_MATCH
The ANY_MATCH name of this bean. |
static String |
LIKE_MATCH
The LIKE_MATCH name of this bean. |
static String |
NOT_MATCH
The NOT_MATCH name of this bean. |
static String |
PHRASE_MATCH
The PHRASE_MATCH name of this bean. |
Method Summary | |
---|---|
org.apache.lucene.search.Query |
getQuery(org.apache.lucene.analysis.Analyzer analyzer)
Gets the org.apache.lucene.search.Query from the Criterion
The analyzer specifies which org.apache.lucene.analysis.Analyzer to use for this search
|
boolean |
isProhibited()
Gets the prohibited status from the Criterion |
Field Detail |
---|
static final String ANY_FIELD
The value representing a query on any field in the index.
ie. any
static final String ANY_MATCH
The value representing a match on any of the terms in this criterion.
ie. any
static final String ALL_MATCH
The value representing a match on all of the terms in this criterion.
ie. all
static final String LIKE_MATCH
The value representing a fuzzy match on any of the terms in this criterion.
ie. like
static final String NOT_MATCH
The value representing a prohibition on any of the terms in this criterion.
ie. like
static final String PHRASE_MATCH
The value representing a phrase match using all of the terms in this criterion.
ie. like
Method Detail |
---|
org.apache.lucene.search.Query getQuery(org.apache.lucene.analysis.Analyzer analyzer)
org.apache.lucene.search.Query
from the Criterion
The analyzer specifies which org.apache.lucene.analysis.Analyzer
to use for this search
analyzer
- The org.apache.lucene.analysis.Analyzer
to use to extract the Terms from this Criterionboolean isProhibited()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |