Skip to content

Commit

Permalink
fix compilation error in 1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn committed Dec 4, 2024
1 parent 94a47a1 commit cdf1ece
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 cdf1ece

Please sign in to comment.