Class SearchHistory
- java.lang.Object
-
- com.funnelback.publicui.search.model.transaction.session.SearchHistory
-
@Entity public class SearchHistory extends Object
A single entry in theSearchUser
search history- Since:
- v12.4
-
-
Field Summary
Fields Modifier and Type Field Description private String
collection
Collection identifier for this search eventprivate int
currStart
Starting page offsetprivate static org.apache.logging.log4j.Logger
log
static int
MAX_QUERY_LENGTH
private int
numRanks
Number of results per pageprivate String
originalQuery
Original query as entered by the userprivate String
queryAsProcessed
Query as processed by the query processorprivate Date
searchDate
Date when the search was performedprivate String
searchParams
URL parameters used to perform the searchprivate int
searchParamsSignature
Signature identifying the search URL parameters regardless of the order of the parameters or their encodingprivate int
totalMatching
Total number of results returnedprivate String
userId
ID 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 String
getCollection()
Collection identifier for this search eventint
getCurrStart()
Starting page offsetint
getNumRanks()
Number of results per pageString
getOriginalQuery()
Original query as entered by the userString
getQueryAsProcessed()
Query as processed by the query processorDate
getSearchDate()
Date when the search was performedString
getSearchParams()
int
getSearchParamsSignature()
Signature identifying the search URL parameters regardless of the order of the parameters or their encodingint
getTotalMatching()
Total number of results returnedString
getUserId()
ID of the User who performed the searchvoid
setCollection(String collection)
Collection identifier for this search eventvoid
setCurrStart(int currStart)
Starting page offsetvoid
setNumRanks(int numRanks)
Number of results per pagevoid
setOriginalQuery(String q)
void
setQueryAsProcessed(String q)
void
setSearchDate(Date searchDate)
Date when the search was performedvoid
setSearchParams(String params)
Set the search parametersvoid
setTotalMatching(int totalMatching)
Total number of results returnedvoid
setUserId(String userId)
ID of the User who performed the searchString
toString()
-
-
-
Field Detail
-
log
private static final org.apache.logging.log4j.Logger log
-
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
-
-
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
-
-