File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
scala-fit-performer/src/main/scala/com/couchbase/client/performer/scala Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ object SearchHelper {
385385 out = out.should(converted : _* )
386386 }
387387 if (qr.getMustNotCount > 0 ) {
388- val converted = convertSearchQueries(qr.getMustList .asScala)
388+ val converted = convertSearchQueries(qr.getMustNotList .asScala)
389389 out = out.mustNot(converted : _* )
390390 }
391391 if (qr.hasShouldMin) out = out.shouldMin(qr.getShouldMin)
@@ -545,6 +545,9 @@ object SearchHelper {
545545 val opts = vq.getOptions
546546 if (opts.hasNumCandidates) out = out.numCandidates(opts.getNumCandidates)
547547 if (opts.hasBoost) out = out.boost(opts.getBoost)
548+ // [if:1.9.0]
549+ if (opts.hasPrefilter) out = out.prefilter(convertSearchQuery(opts.getPrefilter))
550+ // [end]
548551 }
549552 out
550553 }
Original file line number Diff line number Diff line change @@ -86,6 +86,10 @@ object Capabilities {
8686 out.add(Caps .SDK_BUCKET_SETTINGS_NUM_VBUCKETS )
8787 // [end:1.8.2]
8888
89+ // [start:1.9.0]
90+ out.add(Caps .SDK_PREFILTER_VECTOR_SEARCH )
91+ // [end:1.9.0]
92+
8993 out
9094 }
9195
You can’t perform that action at this time.
0 commit comments