Class GoForm

java.lang.Object
org.codelibs.fess.app.web.go.GoForm

public class GoForm extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    @Required @Size(max=100) String
    Document 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 String
    Query identifier associated with the search that led to this document access.
    @Size(max=10000) @Required String
    Redirect target or return URL parameter.
    Sort parameter for error page fallback.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for GoForm.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • docId

      @Required @Size(max=100) public @Required @Size(max=100) String docId
      Document identifier for the target document to redirect to. This is required and limited to 100 characters.
    • rt

      @Size(max=10000) @Required public @Size(max=10000) @Required String rt
      Redirect target or return URL parameter. This is required and limited to 10000 characters to accommodate long URLs.
    • hash

      public String hash
      Hash value for security or validation purposes. This field is optional and used for request verification.
    • queryId

      @Required public @Required String queryId
      Query identifier associated with the search that led to this document access. This is required for tracking and analytics purposes.
    • order

      public Integer order
      Order or ranking position of the document in search results. This optional field helps track which result position was clicked.
    • q

      public String q
      Query string parameter for error page fallback. Contains the original search query if redirection fails.
    • num

      public String num
      Number of results parameter for error page fallback. Specifies how many results to display if redirection fails.
    • sort

      public String sort
      Sort parameter for error page fallback. Defines the sorting order if redirection fails.
    • lang

      public String lang
      Language parameter for error page fallback. Specifies the language preference if redirection fails.
    • fields

      public Map<String,String[]> 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.