Package com.algolia.model.search
Class RankingInfo
java.lang.Object
com.algolia.model.search.RankingInfo
RankingInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
This field is reserved for advanced usage.Position of the most important matched attribute in the attributes to index list.Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).Precision used when computing the geo distance, in meters.Get matchedGeoLocationNumber of exactly matched words.Number of typos encountered when matching the record.Get personalizationPresent and set to true if a Rule promoted the hit.Wether the record are promoted by the re-ranking strategy.When the query contains more than one word, the sum of the distances between matched words (in meters).Custom ranking for the object, expressed as a single integer value.getWords()
Number of matched words, including prefixes and typos.int
hashCode()
setFilters
(Integer filters) setFirstMatchedWord
(Integer firstMatchedWord) setGeoDistance
(Integer geoDistance) setGeoPrecision
(Integer geoPrecision) setMatchedGeoLocation
(MatchedGeoLocation matchedGeoLocation) setNbExactWords
(Integer nbExactWords) setNbTypos
(Integer nbTypos) setPersonalization
(Personalization personalization) setPromoted
(Boolean promoted) setPromotedByReRanking
(Boolean promotedByReRanking) setProximityDistance
(Integer proximityDistance) setUserScore
(Integer userScore) toString()
-
Constructor Details
-
RankingInfo
public RankingInfo()
-
-
Method Details
-
setFilters
-
getFilters
This field is reserved for advanced usage. -
setFirstMatchedWord
-
getFirstMatchedWord
Position of the most important matched attribute in the attributes to index list. -
setGeoDistance
-
getGeoDistance
Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters). -
setGeoPrecision
-
getGeoPrecision
Precision used when computing the geo distance, in meters. -
setMatchedGeoLocation
-
getMatchedGeoLocation
Get matchedGeoLocation -
setPersonalization
-
getPersonalization
Get personalization -
setNbExactWords
-
getNbExactWords
Number of exactly matched words. -
setNbTypos
-
getNbTypos
Number of typos encountered when matching the record. -
setPromoted
-
getPromoted
Present and set to true if a Rule promoted the hit. -
setProximityDistance
-
getProximityDistance
When the query contains more than one word, the sum of the distances between matched words (in meters). -
setUserScore
-
getUserScore
Custom ranking for the object, expressed as a single integer value. -
setWords
-
getWords
Number of matched words, including prefixes and typos. -
setPromotedByReRanking
-
getPromotedByReRanking
Wether the record are promoted by the re-ranking strategy. -
equals
-
hashCode
public int hashCode() -
toString
-