title: Fuzzy search for group of word / multiple terms
body: <p>I need to make fuzzy searches on group of words (and not only single terms).</p>
  
  <p>My database table have many strings, containing 1 or more words, and I need to find the best fit for a searched group of words.</p>
  
  <h2>E.G:</h2>
  
  <p>I search <strong><em>"pommes de terre"</em></strong>, it should give <strong><em>"pomme de terre"</em></strong>, and with inferior score, <strong><em>"pomme"</em></strong>, <strong><em>"terre"</em></strong>, or any possible matching term.</p>
  
  <p>For single terms, it works perfectly, and corrects typoes, and heavy mistakes.
  But if I search for many terms, single terms have better scores than exact matches, and group of words:</p>
  
  <h3>Search: "pomme de terre"</h3>
  
  <ul>
  <li>poire, score:2.3862941</li>
  <li>pomme, score:2.2527628</li>
  <li><strong>pomme de terre</strong>, score:1.1263814 <strong><em>&lt;- Not high enough</em></strong></li>
  </ul>
  
  <h2>Question</h2>
  
  <blockquote>
    <p><strong>Is there a solution which gives a better score the more terms matches ?</strong> (the more fuzzy terms matches, the more score is high)</p>
  </blockquote>
  
  <h2>SETTINGS</h2>
  
  <p>Search Query:</p>
  
  <pre><code>{query: 
      {fuzzy_like_this: 
          { like_text: 'pomme de terre'}
      }
  }
  </code></pre>
  
  <p>Settings:</p>
  
  <pre><code>:analysis =&gt; {
      :analyzer =&gt; {
          :folding =&gt; {
              :tokenizer =&gt; "icu_tokenizer",
              :filter =&gt; [ "icu_folding"]
          }
      }
  }
  </code></pre>
  
  <p>I'm a beginner, using elasticsearch-rails. I tried to use suggest queries, but they are not usable with rails gem.</p>
  
  <p>I have to precise that this search is a big part of my project...</p>