title: Use termfreq(field,term) function for phrase with space in SOLR 4.1
body: <p>I am using termfreq(field,term) <a href="http://wiki.apache.org/solr/FunctionQuery#termfreq" rel="nofollow">SOLR function</a>. This works:</p>
  
  <pre><code>?fl=product_name,termfreq(product_name,"iphon")&amp;q=iphone 4s     //Found freq
  </code></pre>
  
  <p>But the problem is to have term like "iphone 4s" with space</p>
  
  <pre><code>?fl=product_name,termfreq(product_name,"iphon 4s")&amp;q=iphone 4s  //Return 0 freq
  </code></pre>
  
  <p>Return 0 freq although that term(phrase) exist in doc. So, the question is, can I use termfreq() function with full phrase like "iphone 4s", And how?</p>
  
  <p>I am using SOLR 4.1. and analyzer for field is</p>
  
  <pre><code>&lt;fieldType name="text_ws" class="solr.TextField"&gt;
      &lt;analyzer&gt;
          &lt;tokenizer class="solr.WhitespaceTokenizerFactory"/&gt;
          &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
  &lt;/fieldType&gt;
  </code></pre>
  
  <p>Field is</p>
  
  <pre><code>&lt;field name="product_name" type="text_ws" indexed="true" stored="true"/&gt;
  </code></pre>