Replies: 1 comment
-
up |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
8.79 added fulltext support for MySQL and Postgres via the
whereFullText()
andorWhereFullText()
methods. However when doing a natural language search you often want to sort the returned results by rank, but currently there appears no way to do this, leaving us to build the query manually depending on the underlying DB.Ideally an
inFullTextOrder($alias)
method would abstract this away (named to keep convention with the existinginRandomOrder()
method). I have essentially implemented this for MySQL:however Postgres (which I'm not familiar with) obviously requires a different syntax. Happy to attempt and do a PR if useful / the right way to go.
Beta Was this translation helpful? Give feedback.
All reactions