title: Fulltext search against table row
body: <p>I am trying to highlight a maximum of 2 words inside a given text. The search keywords come from a mysql table with several hundred possible matches and information on importance. </p>
  
  <p>e.g.:  "The cracy fox jumps over the red cow"</p>
  
  <p>mysql table "words" with possible matches:</p>
  
  <pre><code>keyword  importance
  bird     0,2
  fox      0,5
  cow      0,1
  red      0,4
  </code></pre>
  
  <p>The query should return fox and red.</p>
  
  <p>something like this:</p>
  
  <pre><code>SELECT keyword
  from db.words
  WHERE keyword matches ('The cracy fox jumps over the red cow')
  ORDER BY importance
  LIMIT 2
  </code></pre>
  
  <p>Thank you for any hint on how to achieve this!</p>