Skip to content

Commit

Permalink
Add pitId to SearchResponse if available (#3277)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamseres authored Jan 8, 2025
1 parent 2c7f36c commit 2d420c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ case class SearchResponse(
private val suggest: Map[String, Seq[SuggestionResult]],
@JsonProperty("_shards") private val _shards: Shards,
@JsonProperty("_scroll_id") scrollId: Option[String],
@JsonProperty("pit_id") pitId: Option[String],
@JsonProperty("aggregations") private val _aggregationsAsMap: Map[String, Any],
hits: SearchHits
) {
Expand Down

0 comments on commit 2d420c1

Please sign in to comment.