-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for $meta: 'textScore'
#577
Comments
We're working on |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the |
Suggestion
I assume
$meta: 'textScore'
is not supported, so far I tried the following:Mostly what stop the implementation here is the type constraint on fields and order filters.
As a workaround I had to access directly to the mongodb's driver as shown here: https://gist.github.com/jgutix/71cbb8a9f5946ecd57328862154e3c15
Use Cases
Most of the time will go hand on hand with the use of
$text
searchExamples
Following the syntax from mongo driver:
Acceptance criteria
TBD - will be filled by the team.
The text was updated successfully, but these errors were encountered: