Skip to content

Commit

Permalink
Added: Expose promoted field in _rankingInfo of query response when d…
Browse files Browse the repository at this point in the history
…ebugging query rules with getRankingInfo
  • Loading branch information
aseure committed Oct 16, 2018
1 parent 7a4298c commit 9574ab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/algolia/responses/SearchResult.scala
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,5 @@ case class RankingInfo(nbTypos: Int,
nbExactWords: Int,
words: Int,
filters: Int,
promoted: Option[Boolean],
matchedGeoLocation: Option[Map[String, Float]])

0 comments on commit 9574ab4

Please sign in to comment.