title: Lucene: Setting minimum required similarity on searches
body: <p>I'm having a lot of trouble dealing with Lucene's similarity factor. I want it to apply a  similarity factor different than its default (which is 0.5 according to documentation), but it doesn't seem to be working.</p>
  
  <p>When I type a query that explicitly sets the required similarity factor, like [tinberland~0.5] (notice that I wrote tiNberland, with an "N", while the correct would be with an "M"), it brings many products by the Timberland manufacturer. But when I just type [tinberland] (no similarity factor explicitly defined) and try to set the similarity via code, it doesn't work (returns no results).</p>
  
  <p>The code I wrote to set the similarity is like:</p>
  
  <pre><code>multiFieldQueryParser.SetFuzzyMinSim(0.5F);
  </code></pre>
  
  <p>And I didn't change the Similarity algorithm, so it is using the DefaultSimilarity class.</p>
  
  <p>Isn't that the correct or recommended way of applying similarity via code? Is there a specific QueryParser for fuzzy queries?</p>
  
  <p>Any help is highly appreciated.
  Thanks in advance!</p>