Package com.algolia.model.analytics
Class TopSearchWithAnalytics
java.lang.Object
com.algolia.model.analytics.TopSearchWithAnalytics
TopSearchWithAnalytics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClickPositions
(ClickPosition clickPositionsItem) boolean
Average position of a clicked search result in the list of search results.Number of clicks associated with this search.List of positions in the search results and clicks associated with this search.Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches.Number of conversions from this search.Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches.getCount()
Number of searches.Number of results (hits).Search query.Number of tracked searches.int
hashCode()
setAverageClickPosition
(Double averageClickPosition) setClickCount
(Integer clickCount) setClickPositions
(List<ClickPosition> clickPositions) setClickThroughRate
(Double clickThroughRate) setConversionCount
(Integer conversionCount) setConversionRate
(Double conversionRate) setTrackedSearchCount
(Integer trackedSearchCount) toString()
-
Constructor Details
-
TopSearchWithAnalytics
public TopSearchWithAnalytics()
-
-
Method Details
-
setSearch
-
getSearch
Search query. -
setCount
-
getCount
Number of searches. -
setClickThroughRate
-
getClickThroughRate
Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. minimum: 0 maximum: 1 -
setAverageClickPosition
-
getAverageClickPosition
Average position of a clicked search result in the list of search results. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. minimum: 1 -
setClickPositions
-
addClickPositions
-
getClickPositions
List of positions in the search results and clicks associated with this search. -
setConversionRate
-
getConversionRate
Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. minimum: 0 maximum: 1 -
setTrackedSearchCount
-
getTrackedSearchCount
Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. -
setClickCount
-
getClickCount
Number of clicks associated with this search. minimum: 0 -
setConversionCount
-
getConversionCount
Number of conversions from this search. minimum: 0 -
setNbHits
-
getNbHits
Number of results (hits). -
equals
-
hashCode
public int hashCode() -
toString
-