Skip to content

Commit

Permalink
fix compilation error in 1.3 (#1736)
Browse files Browse the repository at this point in the history
Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn authored Dec 4, 2024
1 parent 94a47a1 commit ff82f71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class BucketSelectorExtAggregator : SiblingPipelineAggregator {
private fun isAccepted(obj: Any, filter: IncludeExclude?): Boolean {
return when (obj.javaClass) {
String::class.java -> {
val stringFilter = filter!!.convertToStringFilter(DocValueFormat.RAW)
val stringFilter = filter!!.convertToStringFilter(DocValueFormat.RAW, null)
stringFilter.accept(BytesRef(obj as String))
}
java.lang.Long::class.java, Long::class.java -> {
Expand Down

0 comments on commit ff82f71

Please sign in to comment.