Class SearchHistory
- java.lang.Object
-
- com.funnelback.publicui.search.model.transaction.session.SearchHistory
-
@Entity public class SearchHistory extends Object
A single entry in theSearchUsersearch history- Since:
- v12.4
-
-
Field Summary
Fields Modifier and Type Field Description private StringcollectionCollection identifier for this search eventprivate intcurrStartStarting page offsetstatic intMAX_QUERY_LENGTHprivate intnumRanksNumber of results per pageprivate StringoriginalQueryOriginal query as entered by the userprivate StringqueryAsProcessedQuery as processed by the query processorprivate DatesearchDateDate when the search was performedprivate StringsearchParamsURL parameters used to perform the searchprivate intsearchParamsSignatureSignature identifying the search URL parameters regardless of the order of the parameters or their encodingprivate inttotalMatchingTotal number of results returnedprivate StringuserIdID of the User who performed the search
-
Constructor Summary
Constructors Constructor Description SearchHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSearchParams()voidsetOriginalQuery(String q)voidsetQueryAsProcessed(String q)voidsetSearchParams(String params)Set the search parameters
-
-
-
Field Detail
-
MAX_QUERY_LENGTH
public static final int MAX_QUERY_LENGTH
- See Also:
- Constant Field Values
-
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
-
-