Need a new parameter for FTS parameter (score).

Description

with Couchbase 6.6, we introduced an option to avoid scoring and was deed useful for searching and flex-index from the query service.

We've seen that this optimization has additional benefits for direct FTS querying. We need this exposed from the SDKs as well. 

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Keshav Murthy October 29, 2020 at 5:27 PM

: Is the validation done? We can close this and add docs for it if it's not already done /cc

Mihir Kamdar August 17, 2020 at 6:31 PM

I am passing on the validation for the .NET API to since he owns the SDK QE.

Keshav Murthy August 16, 2020 at 11:11 PM

This is good. Thank you, .

: Can you please test this with .NET api and ensure you're seeing the performance difference? Thanks.

Jeffry Morris August 16, 2020 at 5:50 PM
Edited

.NET, Java and other SDK's have a "raw" options parameter that can be used to pass `{"score":"none"} with the query:

This should satisfy the requirements of this ticket for now. In 3.1 we can add a strongly typed version to SearchOptions class.

NOTE: in sdk2 there is no "raw" parameter support for SearchParams - this ticket adds it:

-Jeff

Keshav Murthy August 14, 2020 at 7:56 PM

: Can you please share the actual values... we use "score":"none" for turning this off.  What's the value to run this on? 

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

CVSS/Severity

Critical

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created August 14, 2020 at 2:12 AM
Updated November 18, 2020 at 2:24 AM
Resolved November 18, 2020 at 2:24 AM
Instabug