Package org.codelibs.fess.api.suggest
Class SuggestApiManager.RequestParameter
- java.lang.Object
-
- org.codelibs.fess.entity.SearchRequestParams
-
- org.codelibs.fess.api.suggest.SuggestApiManager.RequestParameter
-
- Enclosing class:
- SuggestApiManager
protected static class SuggestApiManager.RequestParameter extends SearchRequestParams
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codelibs.fess.entity.SearchRequestParams
SearchRequestParams.SearchRequestType
-
-
Field Summary
-
Fields inherited from class org.codelibs.fess.entity.SearchRequestParams
AS_EPQ, AS_FILETYPE, AS_NQ, AS_OCCURRENCE, AS_OQ, AS_Q, AS_SITESEARCH, AS_TIMESTAMP
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRequestParameter(javax.servlet.http.HttpServletRequest request, String query, String[] tags, String[] fields, int num)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String name)Map<String,String[]>getConditions()String[]getExtraQueries()FacetInfogetFacetInfo()Map<String,String[]>getFields()GeoInfogetGeoInfo()HighlightInfogetHighlightInfo()String[]getLanguages()LocalegetLocale()protected intgetNum()intgetPageSize()StringgetQuery()StringgetSimilarDocHash()StringgetSort()intgetStartPosition()protected String[]getSuggestFields()String[]getTags()SearchRequestParams.SearchRequestTypegetType()protected static SuggestApiManager.RequestParameterparse(javax.servlet.http.HttpServletRequest request)-
Methods inherited from class org.codelibs.fess.entity.SearchRequestParams
createFacetInfo, createGeoInfo, getParamValueArray, getTrackTotalHits, hasConditionQuery, isEmptyArray, simplifyArray
-
-
-
-
Method Detail
-
parse
protected static SuggestApiManager.RequestParameter parse(javax.servlet.http.HttpServletRequest request)
-
getQuery
public String getQuery()
- Specified by:
getQueryin classSearchRequestParams
-
getSuggestFields
protected String[] getSuggestFields()
-
getNum
protected int getNum()
-
getFields
public Map<String,String[]> getFields()
- Specified by:
getFieldsin classSearchRequestParams
-
getConditions
public Map<String,String[]> getConditions()
- Specified by:
getConditionsin classSearchRequestParams
-
getTags
public String[] getTags()
-
getLanguages
public String[] getLanguages()
- Specified by:
getLanguagesin classSearchRequestParams
-
getGeoInfo
public GeoInfo getGeoInfo()
- Specified by:
getGeoInfoin classSearchRequestParams
-
getFacetInfo
public FacetInfo getFacetInfo()
- Specified by:
getFacetInfoin classSearchRequestParams
-
getSort
public String getSort()
- Specified by:
getSortin classSearchRequestParams
-
getStartPosition
public int getStartPosition()
- Specified by:
getStartPositionin classSearchRequestParams
-
getPageSize
public int getPageSize()
- Specified by:
getPageSizein classSearchRequestParams
-
getExtraQueries
public String[] getExtraQueries()
- Specified by:
getExtraQueriesin classSearchRequestParams
-
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttributein classSearchRequestParams
-
getLocale
public Locale getLocale()
- Specified by:
getLocalein classSearchRequestParams
-
getType
public SearchRequestParams.SearchRequestType getType()
- Specified by:
getTypein classSearchRequestParams
-
getSimilarDocHash
public String getSimilarDocHash()
- Specified by:
getSimilarDocHashin classSearchRequestParams
-
getHighlightInfo
public HighlightInfo getHighlightInfo()
- Specified by:
getHighlightInfoin classSearchRequestParams
-
-