Jump to content

fulltext **= operator and relevance


neonwired
 Share

Recommended Posts

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.

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...