Class ListForm
java.lang.Object
org.codelibs.fess.entity.SearchRequestParams
org.codelibs.fess.app.web.admin.searchlist.ListForm
- Direct Known Subclasses:
SearchBody
The list form for Search List.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codelibs.fess.entity.SearchRequestParams
SearchRequestParams.SearchRequestType -
Field Summary
FieldsModifier and TypeFieldDescriptionThe conditions.String[]The extra queries.The fields.String[]The languages.The number of results to display.The offset for pagination.The page number.@Size(max=1000) StringThe search query string.The similar document hash.The sort field and direction.The start position for search results.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 -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Returns the attribute.Returns the conditions.String[]Returns the extra queries.Returns the facet info.Returns the fields.Returns the geo info.Returns the highlight info.String[]Returns the languages.Returns the locale.intReturns the offset.intReturns the page size.getQuery()Returns the query.Returns the similar document hash.getSort()Returns the sort.intReturns the start position.Returns the track total hits.getType()Returns the search request type.voidInitializes the form with default values from configuration.Methods inherited from class org.codelibs.fess.entity.SearchRequestParams
createFacetInfo, createGeoInfo, getMinScore, getParamValueArray, getResponseFields, hasConditionQuery, isEmptyArray, simplifyArray
-
Field Details
-
q
The search query string. -
sort
The sort field and direction. -
start
The start position for search results. -
offset
The offset for pagination. -
pn
The page number. -
num
The number of results to display. -
lang
The languages. -
fields
The fields. -
as
The conditions. -
ex_q
The extra queries. -
sdh
The similar document hash.
-
-
Constructor Details
-
ListForm
public ListForm()Default constructor.
-
-
Method Details
-
getQuery
Description copied from class:SearchRequestParamsReturns the query.- Specified by:
getQueryin classSearchRequestParams- Returns:
- The query.
-
getExtraQueries
Description copied from class:SearchRequestParamsReturns the extra queries.- Specified by:
getExtraQueriesin classSearchRequestParams- Returns:
- The extra queries.
-
getFields
Description copied from class:SearchRequestParamsReturns the fields.- Specified by:
getFieldsin classSearchRequestParams- Returns:
- The fields.
-
getConditions
Description copied from class:SearchRequestParamsReturns the conditions.- Specified by:
getConditionsin classSearchRequestParams- Returns:
- The conditions.
-
getStartPosition
public int getStartPosition()Description copied from class:SearchRequestParamsReturns the start position.- Specified by:
getStartPositionin classSearchRequestParams- Returns:
- The start position.
-
getOffset
public int getOffset()Description copied from class:SearchRequestParamsReturns the offset.- Specified by:
getOffsetin classSearchRequestParams- Returns:
- The offset.
-
getPageSize
public int getPageSize()Description copied from class:SearchRequestParamsReturns the page size.- Specified by:
getPageSizein classSearchRequestParams- Returns:
- The page size.
-
getLanguages
Description copied from class:SearchRequestParamsReturns the languages.- Specified by:
getLanguagesin classSearchRequestParams- Returns:
- The languages.
-
getGeoInfo
Description copied from class:SearchRequestParamsReturns the geo info.- Specified by:
getGeoInfoin classSearchRequestParams- Returns:
- The geo info.
-
getFacetInfo
Description copied from class:SearchRequestParamsReturns the facet info.- Specified by:
getFacetInfoin classSearchRequestParams- Returns:
- The facet info.
-
getHighlightInfo
Description copied from class:SearchRequestParamsReturns the highlight info.- Specified by:
getHighlightInfoin classSearchRequestParams- Returns:
- The highlight info.
-
getSort
Description copied from class:SearchRequestParamsReturns the sort.- Specified by:
getSortin classSearchRequestParams- Returns:
- The sort.
-
initialize
public void initialize()Initializes the form with default values from configuration. -
getAttribute
Description copied from class:SearchRequestParamsReturns the attribute.- Specified by:
getAttributein classSearchRequestParams- Parameters:
name- The name of the attribute.- Returns:
- The attribute.
-
getLocale
Description copied from class:SearchRequestParamsReturns the locale.- Specified by:
getLocalein classSearchRequestParams- Returns:
- The locale.
-
getType
Description copied from class:SearchRequestParamsReturns the search request type.- Specified by:
getTypein classSearchRequestParams- Returns:
- The search request type.
-
getSimilarDocHash
Description copied from class:SearchRequestParamsReturns the similar document hash.- Specified by:
getSimilarDocHashin classSearchRequestParams- Returns:
- The similar document hash.
-
getTrackTotalHits
Description copied from class:SearchRequestParamsReturns the track total hits.- Overrides:
getTrackTotalHitsin classSearchRequestParams- Returns:
- The track total hits.
-