title: need help in apache solr suggester for phrases
body: <p>i am trying to use suggeter in my application </p>
  
  <p>example: I have a documents as below</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>apache solr version 4.2
  apache hadoop version 2
  cassendra nosql db
  mysql rdbms </code></pre>
  </div>
  </div>
  </p>
  
  <p>if i search for "apa" first two result is shown as suggestion and 
  if the search string is "apache so" only 1st one is shown as suggestion which is as expected</p>
  
  <p>But</p>
  
  <p>if i search for "solr" no result is shown for suggestion( i would expect apache solr version 4.2)</p>
  
  <p>My query is </p>
  
  <p><a href="http://localhost:8983/solr/colletion/suggest?wt=json&amp;indent=true&amp;spellcheck=true&amp;spellcheck.q=solr" rel="nofollow">http://localhost:8983/solr/colletion/suggest?wt=json&amp;indent=true&amp;spellcheck=true&amp;spellcheck.q=solr</a></p>
  
  <p>below is my field type </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;fieldType name="text_general2" class="solr.TextField" positionIncrementGap="100"&gt;
        &lt;analyzer type="index"&gt;
          &lt;tokenizer class="solr.KeywordTokenizerFactory"/&gt;
          &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/&gt;
   &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;/analyzer&gt;
        &lt;analyzer type="query"&gt;
          &lt;tokenizer class="solr.KeywordTokenizerFactory"/&gt;
          &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/&gt;
          &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;/analyzer&gt;
      &lt;/fieldType&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>and suggest request handler in solrconfig.xml is</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;searchComponent class="solr.SpellCheckComponent" name="suggest"&gt;
      &lt;lst name="spellchecker"&gt;
        &lt;str name="name"&gt;suggest&lt;/str&gt;
        &lt;str name="classname"&gt;org.apache.solr.spelling.suggest.Suggester&lt;/str&gt;
       &lt;str name="lookupImpl"&gt;org.apache.solr.spelling.suggest.fst.WFSTLookupFactory&lt;/str&gt;
       &lt;str name="field"&gt;title2&lt;/str&gt;  &lt;!-- the indexed field to derive suggestions from --&gt;
        &lt;float name="threshold"&gt;0&lt;/float&gt;   
        &lt;str name="buildOnCommit"&gt;true&lt;/str&gt;
      &lt;/lst&gt;
    &lt;/searchComponent&gt;
    &lt;requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggest"&gt;
      &lt;lst name="defaults"&gt;
        &lt;str name="spellcheck"&gt;true&lt;/str&gt;
        &lt;str name="spellcheck.dictionary"&gt;suggest&lt;/str&gt;
        &lt;str name="spellcheck.onlyMorePopular"&gt;true&lt;/str&gt;
        &lt;str name="spellcheck.count"&gt;8&lt;/str&gt;
        &lt;str name="spellcheck.collate"&gt;true&lt;/str&gt;
      &lt;/lst&gt;
      &lt;arr name="components"&gt;
        &lt;str&gt;suggest&lt;/str&gt;
      &lt;/arr&gt;
    &lt;/requestHandler&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>my solr version is 4.2 CDH 4.7</p>
  
  <p>please help </p>