Package org.codelibs.fess.app.web.base
Class SearchForm
- java.lang.Object
-
- org.codelibs.fess.entity.SearchRequestParams
-
- org.codelibs.fess.app.web.base.SearchForm
-
public class SearchForm extends SearchRequestParams
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codelibs.fess.entity.SearchRequestParams
SearchRequestParams.SearchRequestType
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,String[]>asString[]ex_qMap<String,String[]>fieldsString[]langIntegernumIntegerpn@Size(max=1000) Stringq@Size(max=1000) Stringsdh@Size(max=1000) StringsortIntegerstart@Size(max=100) Stringtrack_total_hits-
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 Constructor Description SearchForm()
-
Method Summary
All 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()intgetPageSize()StringgetQuery()StringgetSimilarDocHash()StringgetSort()intgetStartPosition()StringgetTrackTotalHits()SearchRequestParams.SearchRequestTypegetType()-
Methods inherited from class org.codelibs.fess.entity.SearchRequestParams
createFacetInfo, createGeoInfo, getParamValueArray, hasConditionQuery, isEmptyArray, simplifyArray
-
-
-
-
Field Detail
-
q
@Size(max=1000) public @Size(max=1000) String q
-
sort
@Size(max=1000) public @Size(max=1000) String sort
-
num
@ValidateTypeFailure public Integer num
-
lang
public String[] lang
-
ex_q
public String[] ex_q
-
start
@ValidateTypeFailure public Integer start
-
pn
@ValidateTypeFailure public Integer pn
-
sdh
@Size(max=1000) public @Size(max=1000) String sdh
-
track_total_hits
@Size(max=100) public @Size(max=100) String track_total_hits
-
-
Method Detail
-
getStartPosition
public int getStartPosition()
- Specified by:
getStartPositionin classSearchRequestParams
-
getPageSize
public int getPageSize()
- Specified by:
getPageSizein classSearchRequestParams
-
getQuery
public String getQuery()
- Specified by:
getQueryin classSearchRequestParams
-
getExtraQueries
public String[] getExtraQueries()
- Specified by:
getExtraQueriesin classSearchRequestParams
-
getFields
public Map<String,String[]> getFields()
- Specified by:
getFieldsin classSearchRequestParams
-
getLanguages
public String[] getLanguages()
- Specified by:
getLanguagesin classSearchRequestParams
-
getGeoInfo
public GeoInfo getGeoInfo()
- Specified by:
getGeoInfoin classSearchRequestParams
-
getFacetInfo
public FacetInfo getFacetInfo()
- Specified by:
getFacetInfoin classSearchRequestParams
-
getHighlightInfo
public HighlightInfo getHighlightInfo()
- Specified by:
getHighlightInfoin classSearchRequestParams
-
getSort
public String getSort()
- Specified by:
getSortin 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
-
getConditions
public Map<String,String[]> getConditions()
- Specified by:
getConditionsin classSearchRequestParams
-
getTrackTotalHits
public String getTrackTotalHits()
- Overrides:
getTrackTotalHitsin classSearchRequestParams
-
-