Package com.day.cq.commons.servlets
Class AbstractSearchServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- org.apache.sling.api.servlets.SlingAllMethodsServlet
-
- com.day.cq.commons.servlets.AbstractPredicateServlet
-
- com.day.cq.commons.servlets.AbstractSearchServlet
-
- All Implemented Interfaces:
java.io.Serializable
,Servlet
,ServletConfig
public abstract class AbstractSearchServlet extends AbstractPredicateServlet
AbstractSearchServlet
is a base class for search servlets.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LIMIT
Result limitstatic java.lang.String
QUERY
Query clausestatic java.lang.String
SPLIT_CHARACTERS
Split terms at these characters.static java.lang.String
START
Start indexstatic java.lang.String
TIDY
tidy paramstatic java.util.List<java.lang.Character.UnicodeBlock>
WORD_CHARS
List of unicode blocks that contain characters that act as words.-
Fields inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
FILTER_PARAM, PATH_PARAM, PREDICATE_PARAM
-
-
Constructor Summary
Constructors Constructor Description AbstractSearchServlet()
-
Method Summary
-
Methods inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
getPredicate
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
getServletInfo, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
QUERY
public static final java.lang.String QUERY
Query clause- See Also:
- Constant Field Values
-
START
public static final java.lang.String START
Start index- See Also:
- Constant Field Values
-
LIMIT
public static final java.lang.String LIMIT
Result limit- See Also:
- Constant Field Values
-
TIDY
public static final java.lang.String TIDY
tidy param- See Also:
- Constant Field Values
-
WORD_CHARS
public static final java.util.List<java.lang.Character.UnicodeBlock> WORD_CHARS
List of unicode blocks that contain characters that act as words.
-
SPLIT_CHARACTERS
public static final java.lang.String SPLIT_CHARACTERS
Split terms at these characters. This list might not bee complete and is only a quick hack to fix bug# 27080.- See Also:
- Constant Field Values
-
-