algoliasearch-client-scala icon indicating copy to clipboard operation
algoliasearch-client-scala copied to clipboard

queryID is missing from response

Open pikazlou opened this issue 4 years ago • 0 comments
trafficstars

  • Algolia Client Version: 1.39.1
  • Language Version:

Description

Algolia uses parameter clickAnalytics to return queryID in response.

Description of clickAnalytics: https://www.algolia.com/doc/api-reference/api-parameters/clickAnalytics/ Description of queryID in response: https://www.algolia.com/doc/api-reference/api-methods/search/#method-response-queryid

Unfortunately current version of SearchResult case class has no queryID field, thus it is ignored during response extraction.

Steps To Reproduce

Perform search request with clickAnalytics enabled:

Query(query = Some("text"), customParameters = Some(Map("clickAnalytics" -> "true")))

pikazlou avatar Apr 21 '21 13:04 pikazlou