Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Girish BenakappaGirish BenakappaReporter
Jon StrabalaJon Strabala(Deactivated)Story Points
1Priority
CriticalInstabug
Open Instabug
Details
Details
Assignee
Girish Benakappa
Girish BenakappaReporter
Jon Strabala
Jon Strabala(Deactivated)Story Points
1
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created February 18, 2022 at 3:01 AM
Updated March 3, 2022 at 12:25 AM
Resolved February 18, 2022 at 5:51 PM
SEARCH_META().score should be the same as SEARCH_SCORE() but in some N1QL queries they behave differently.
I used both "Enterprise Edition 7.0.3 build 7031" and a current Neo build both behave the same. I load `travel-sample` and then make a full text index as per the attached image.
Consider the two queries they differ only by ASC and DESC, but the behave the same
and
Both return the same thing
and
Not the same ordering and also missing items compared to the next two queries
But is we switch from ORDER BY SEARCH_SCORE() ... to ORDER BY SEARCH_META().score ... things look much better.
and
We get the expected results
and