neonwired Posted October 1, 2021 Share Posted October 1, 2021 Quick question when using the fulltext **= operator, how does it sort the results? Can you sort by relevance or limit the results by relevance? Link to comment Share on other sites More sharing options...
millipedia Posted October 1, 2021 Share Posted October 1, 2021 There's a propery _pfscore (page finder score) returned from full text searches. You can use that to filter out low scores. For a recent site I appear to have used: foreach($matches as $match){ if($match->_pfscore < 900){ $matches->remove($match); } } but you can fiddle around with that value to suit. Not sure if there's a way of specfying a minimum score in your query. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now