Class SearchHistory


  • @Entity
    public class SearchHistory
    extends Object
    A single entry in the SearchUser search history
    Since:
    v12.4
    • Field Detail

      • userId

        private String userId
        ID of the User who performed the search
      • collection

        private String collection
        Collection identifier for this search event
      • searchParamsSignature

        private int searchParamsSignature
        Signature identifying the search URL parameters regardless of the order of the parameters or their encoding
      • searchDate

        private Date searchDate
        Date when the search was performed
      • originalQuery

        private String originalQuery
        Original query as entered by the user
      • queryAsProcessed

        private String queryAsProcessed
        Query as processed by the query processor
      • totalMatching

        private int totalMatching
        Total number of results returned
      • currStart

        private int currStart
        Starting page offset
      • numRanks

        private int numRanks
        Number of results per page
      • searchParams

        private String searchParams
        URL parameters used to perform the search
    • Constructor Detail

      • SearchHistory

        public SearchHistory()
    • Method Detail

      • setOriginalQuery

        public void setOriginalQuery​(String q)
      • setQueryAsProcessed

        public void setQueryAsProcessed​(String q)
      • getSearchParams

        public String getSearchParams()
      • setSearchParams

        public void setSearchParams​(String params)
        Set the search parameters
        Parameters:
        params -