title: Apache Solr - wrong count words in termfreq function
body: <p>Is any solution, to use termfreq to pharse, not one word(in one word work correct), in pharse like: termfreq(field,&quot;test value&quot;) - work fail:</p>
  <p>schema.xml:</p>
  <pre><code>&lt;fieldType name=&quot;text_books_index&quot; class=&quot;solr.TextField&quot;&gt;
          &lt;analyzer type=&quot;index&quot;&gt;
              &lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot;/&gt;
              &lt;filter class=&quot;solr.StopFilterFactory&quot; words=&quot;stopwords.txt&quot; ignoreCase=&quot;true&quot;/&gt;
              &lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&gt;
              &lt;filter class=&quot;solr.MorfologikFilterFactory&quot;/&gt;
              &lt;filter class=&quot;solr.EdgeNGramFilterFactory&quot; minGramSize=&quot;2&quot; maxGramSize=&quot;15&quot; /&gt;
          &lt;/analyzer&gt;
          &lt;analyzer type=&quot;query&quot;&gt;
              &lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot;/&gt;
              &lt;filter class=&quot;solr.StopFilterFactory&quot; words=&quot;stopwords.txt&quot; ignoreCase=&quot;true&quot;/&gt;
              &lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&gt;
              &lt;filter class=&quot;solr.MorfologikFilterFactory&quot;/&gt;
          &lt;/analyzer&gt;
      &lt;/fieldType&gt;
  </code></pre>