Package org.codelibs.fess.app.web.go
Class GoForm
java.lang.Object
org.codelibs.fess.app.web.go.GoForm
Form class for handling "go" requests that redirect users to specific documents
or search results. This form captures the necessary parameters for document
access tracking and error page fallback information.
-
Field Summary
FieldsModifier and TypeFieldDescription@Required @Size(max=100) StringDocument identifier for the target document to redirect to.Additional fields map for error page fallback.Hash value for security or validation purposes.Language parameter for error page fallback.Number of results parameter for error page fallback.Order or ranking position of the document in search results.Query string parameter for error page fallback.@Required StringQuery identifier associated with the search that led to this document access.@Size(max=10000) @Required StringRedirect target or return URL parameter.Sort parameter for error page fallback. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
docId
Document identifier for the target document to redirect to. This is required and limited to 100 characters. -
rt
Redirect target or return URL parameter. This is required and limited to 10000 characters to accommodate long URLs. -
hash
Hash value for security or validation purposes. This field is optional and used for request verification. -
queryId
Query identifier associated with the search that led to this document access. This is required for tracking and analytics purposes. -
order
Order or ranking position of the document in search results. This optional field helps track which result position was clicked. -
q
Query string parameter for error page fallback. Contains the original search query if redirection fails. -
num
Number of results parameter for error page fallback. Specifies how many results to display if redirection fails. -
sort
Sort parameter for error page fallback. Defines the sorting order if redirection fails. -
lang
Language parameter for error page fallback. Specifies the language preference if redirection fails. -
fields
Additional fields map for error page fallback. Contains extra search parameters as key-value pairs if redirection fails.
-
-
Constructor Details
-
GoForm
public GoForm()Default constructor for GoForm.
-