Skip to content

Commit

Permalink
Added: Expose appliedRules field in query response when debugging que…
Browse files Browse the repository at this point in the history
…ry rules with getRankingInfo
  • Loading branch information
aseure committed Oct 16, 2018
1 parent 97a0aea commit 7a4298c
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 @@ -51,6 +51,7 @@ case class SearchResult(hits: Seq[JObject],
// For getRankingInfo
serverUsed: Option[String],
parsedQuery: Option[String],
appliedRules: Option[Map[String, String]],
// For multiqueries
processed: Option[Boolean],
index: Option[String]) {
Expand Down

0 comments on commit 7a4298c

Please sign in to comment.