Jump to content
Larry Ullman's Book Forums

Recommended Posts

Chapter 7: Advanced SQL and MySQL - Fifth Edition of PHP and MySQL for Dynamic Web Sites Visual QuickPro Guide

Page 229 - Table 7.3

It says 

Quote

Operator - ~

Meaning - Lowers a ranking if present

Operator: <

Meaning: Decrease a word's importance

I don't understand the difference between lowering importance and lowering ranking. Doesn't decreasing the importance decrease the ranking? Can someone please explain to me the difference between the 2?

Thanks,

Varun

Edited by Marvin
Changed Title to make 'versus' more obvious

Share this post


Link to post
Share on other sites

Sorry for the confusion here. It's a subtle difference. Here's what the MySQL manual says:

Quote

These two operators are used to change a word's contribution to the relevance value that is assigned to a row. The > operator increases the contribution and the < operator decreases it.

and

Quote

A leading tilde acts as a negation operator, causing the word's contribution to the row's relevance to be negative. This is useful for marking noise words. A row containing such a word is rated lower than others, but is not excluded altogether, as it would be with the- operator.

I guess I'd phrase it as ~ being more impactful than <. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...