|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--fr.gouv.culture.sdx.utils.SdxObjectImpl
|
+--fr.gouv.culture.sdx.search.lucene.query.AbstractQuery
|
+--fr.gouv.culture.sdx.search.lucene.query.SimpleQuery
|
+--fr.gouv.culture.sdx.search.lucene.query.RestrictedQuery
A acceptRequest with the constraint that the results of this query must contain all the words present in the search acceptRequest.
| Field Summary |
| Fields inherited from class fr.gouv.culture.sdx.search.lucene.query.AbstractQuery |
baseOperator, baseQuery, baseResults, filter, luceneQuery, queryText, searchLocations, sortSpecification |
| Fields inherited from class fr.gouv.culture.sdx.utils.SdxObjectImpl |
encoding, logger |
| Fields inherited from interface fr.gouv.culture.sdx.search.lucene.query.Query |
defaultOperator, OPERATOR_AND, OPERATOR_NOT, OPERATOR_OR, SEARCH_ENGINE |
| Constructor Summary | |
RestrictedQuery()
Creates a query A logger must be set and then this query must be setUp. |
|
| Method Summary | |
void |
setUp(SearchLocations sLocs,
java.lang.String q,
java.lang.String field)
Builds a restricted query. |
| Methods inherited from class fr.gouv.culture.sdx.search.lucene.query.SimpleQuery |
setUp, toSAX |
| Methods inherited from class fr.gouv.culture.sdx.search.lucene.query.AbstractQuery |
addAttributesLucene, addAttributesText, addBaseQuery, addBaseQuery, addFilter, addSortSpecification, enableLogging, execute, getLuceneQuery, getOperator, getSearchLocations, prepare, setLuceneQuery, setSearchLocations, setUp, setUp |
| Methods inherited from class fr.gouv.culture.sdx.utils.SdxObjectImpl |
getChildLogger, setEncoding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.xml.XMLizable |
toSAX |
| Methods inherited from interface fr.gouv.culture.sdx.utils.SdxObject |
setEncoding |
| Constructor Detail |
public RestrictedQuery()
A logger must be set and then this query must be setUp.
AbstractQuery.enableLogging(org.apache.avalon.framework.logger.Logger),
setUp(fr.gouv.culture.sdx.search.lucene.query.SearchLocations, java.lang.String, java.lang.String)| Method Detail |
public void setUp(SearchLocations sLocs,
java.lang.String q,
java.lang.String field)
throws SDXException
setUp in class SimpleQuerysLocs - The SearchLocations object (indices to be searched).q - The query string.field - The name of the field
SDXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||