public Builder similarityThreshold(double threshold)

results in having to pass in a d to the method that is inconvenient. There isn't a need for such fine grained values of the threshold.

SearchRequest.builder().similarityThreshold(0.99d).topK(6).build()

Comment From: bruno-oliveira

@markpollack then on the caller sites we need to update it to use the f qualifier right? The advantage is that the float takes less space than the double for the same effect right?

I haven’t investigated yet but then at the DB schema level the value will be automatically converted right?