Class SearchHistory


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

      • log

        private static final org.apache.logging.log4j.Logger log
      • 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 -
      • getUserId

        public String getUserId()
        ID of the User who performed the search
      • setUserId

        public void setUserId​(String userId)
        ID of the User who performed the search
      • getCollection

        public String getCollection()
        Collection identifier for this search event
      • setCollection

        public void setCollection​(String collection)
        Collection identifier for this search event
      • getSearchParamsSignature

        public int getSearchParamsSignature()
        Signature identifying the search URL parameters regardless of the order of the parameters or their encoding
      • getSearchDate

        public Date getSearchDate()
        Date when the search was performed
      • setSearchDate

        public void setSearchDate​(Date searchDate)
        Date when the search was performed
      • getOriginalQuery

        public String getOriginalQuery()
        Original query as entered by the user
      • getQueryAsProcessed

        public String getQueryAsProcessed()
        Query as processed by the query processor
      • getTotalMatching

        public int getTotalMatching()
        Total number of results returned
      • setTotalMatching

        public void setTotalMatching​(int totalMatching)
        Total number of results returned
      • getCurrStart

        public int getCurrStart()
        Starting page offset
      • setCurrStart

        public void setCurrStart​(int currStart)
        Starting page offset
      • getNumRanks

        public int getNumRanks()
        Number of results per page
      • setNumRanks

        public void setNumRanks​(int numRanks)
        Number of results per page