Package com.algolia.model.analytics
Class TopHitWithAnalytics
java.lang.Object
com.algolia.model.analytics.TopHitWithAnalytics
TopHitWithAnalytics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Number of 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 occurrences.getHit()
Object ID of a record that's returned as a search result.Number of tracked searches.int
hashCode()
setClickCount
(Integer clickCount) setClickThroughRate
(Double clickThroughRate) setConversionCount
(Integer conversionCount) setConversionRate
(Double conversionRate) setTrackedHitCount
(Integer trackedHitCount) toString()
-
Constructor Details
-
TopHitWithAnalytics
public TopHitWithAnalytics()
-
-
Method Details
-
setHit
-
getHit
Object ID of a record that's returned as a search result. -
setCount
-
getCount
Number of occurrences. -
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 -
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 -
setTrackedHitCount
-
getTrackedHitCount
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 -
equals
-
hashCode
public int hashCode() -
toString
-