com.senseidb.search.query.filters
Class FilterConstructor
java.lang.Object
com.senseidb.search.query.filters.FilterConstructor
- Direct Known Subclasses:
- AndFilterConstructor, BooleanFilterConstructor, FacetSelectionFilterConstructor, OrFilterConstructor, PathFilterConstructor, QueryFilterConstructor, RangeFilterConstructor, TermFilterConstructor, TermsFilterConstructor, UIDFilterConstructor
public abstract class FilterConstructor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALUES_PARAM
public static final String VALUES_PARAM
- See Also:
- Constant Field Values
VALUE_PARAM
public static final String VALUE_PARAM
- See Also:
- Constant Field Values
EXCLUDES_PARAM
public static final String EXCLUDES_PARAM
- See Also:
- Constant Field Values
OPERATOR_PARAM
public static final String OPERATOR_PARAM
- See Also:
- Constant Field Values
PARAMS_PARAM
public static final String PARAMS_PARAM
- See Also:
- Constant Field Values
MUST_PARAM
public static final String MUST_PARAM
- See Also:
- Constant Field Values
MUST_NOT_PARAM
public static final String MUST_NOT_PARAM
- See Also:
- Constant Field Values
SHOULD_PARAM
public static final String SHOULD_PARAM
- See Also:
- Constant Field Values
FROM_PARAM
public static final String FROM_PARAM
- See Also:
- Constant Field Values
TO_PARAM
public static final String TO_PARAM
- See Also:
- Constant Field Values
NOOPTIMIZE_PARAM
public static final String NOOPTIMIZE_PARAM
- See Also:
- Constant Field Values
RANGE_FIELD_TYPE
public static final String RANGE_FIELD_TYPE
- See Also:
- Constant Field Values
RANGE_DATE_FORMAT
public static final String RANGE_DATE_FORMAT
- See Also:
- Constant Field Values
QUERY_PARAM
public static final String QUERY_PARAM
- See Also:
- Constant Field Values
OR_PARAM
public static final String OR_PARAM
- See Also:
- Constant Field Values
DEPTH_PARAM
public static final String DEPTH_PARAM
- See Also:
- Constant Field Values
STRICT_PARAM
public static final String STRICT_PARAM
- See Also:
- Constant Field Values
INCLUDE_LOWER_PARAM
public static final String INCLUDE_LOWER_PARAM
- See Also:
- Constant Field Values
INCLUDE_UPPER_PARAM
public static final String INCLUDE_UPPER_PARAM
- See Also:
- Constant Field Values
GT_PARAM
public static final String GT_PARAM
- See Also:
- Constant Field Values
GTE_PARAM
public static final String GTE_PARAM
- See Also:
- Constant Field Values
LT_PARAM
public static final String LT_PARAM
- See Also:
- Constant Field Values
LTE_PARAM
public static final String LTE_PARAM
- See Also:
- Constant Field Values
FilterConstructor
public FilterConstructor()
getFilterConstructor
public static FilterConstructor getFilterConstructor(String type,
org.apache.lucene.queryParser.QueryParser qparser)
convertParams
public static Map<String,String> convertParams(org.json.JSONObject obj)
constructFilter
public static org.apache.lucene.search.Filter constructFilter(org.json.JSONObject json,
org.apache.lucene.queryParser.QueryParser qparser)
throws Exception
- Throws:
Exception
doConstructFilter
protected abstract org.apache.lucene.search.Filter doConstructFilter(Object json)
throws Exception
- Throws:
Exception
Copyright © 2010-2012. All Rights Reserved.