Skip to content
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

Mention _relevance in fulltext search docs #5045

Closed
joshribakoff-sm opened this issue Mar 10, 2022 · 4 comments · Fixed by #5068
Closed

Mention _relevance in fulltext search docs #5045

joshribakoff-sm opened this issue Mar 10, 2022 · 4 comments · Fixed by #5068
Assignees

Comments

@joshribakoff-sm
Copy link

Problem

Information about ranking search results is not surfaced in the docs for fulltext search here https://www.prisma.io/docs/concepts/components/prisma-client/full-text-search

Instead it is fragmented and only documented here, not very discoverable.
(https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#sort-post-by-relevance-of-the-title)

Suggested solution

The fulltext search docs should at least give a high level overview of all features related to fulltext search, even if it just links to other parts of the docs that better document each of the features. It is easy to falsely conclude that Prisma is not capable of basic search ranking (which makes fulltext search support in Prisma appear pretty useless to be frank, when in fact it is more useful and robust that the docs would seem to suggest)

@janpio janpio changed the title Mention _relevance in fulltext search docs Mention _relevance in fulltext search docs Aug 1, 2022
@mohitmohlia
Copy link

@joshribakoff-sm can i work on this issue ? please guide me how to fix this

@miketromba
Copy link

It is easy to falsely conclude that Prisma is not capable of basic search ranking (which makes fulltext search support in Prisma appear pretty useless to be frank, when in fact it is more useful and robust that the docs would seem to suggest)

I, too, came to this conclusion. It took a lot of digging to find this issue and realize that the _relevance feature exists.

@joshribakoff-sm
Copy link
Author

@mohitmohlia I am not a maintainer, don't know 🤷

@janpio
Copy link
Contributor

janpio commented Jul 4, 2023

If anyone wants to work on this and create a PR, please go ahead. The docs pages have "Edit this page" links on the bottom right, and the whole docs codebase is available at https://github.com/prisma/docs. Just make the changes and send a PR.

@janpio janpio transferred this issue from prisma/prisma Jul 13, 2023
jharrell added a commit that referenced this issue Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants