title: Difference between debug: solr 3.5 and solr 4.1 or higher
body: <p>I want upgrade Solr 3.5 to Solr 4.10.3, but I have doubts about the type fieldtype:</p>
  
  <p><strong>Solr 4.10.3</strong>(code from example):</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;fieldType name="text_general_rev" class="solr.TextField" positionIncrementGap="100"&gt;
    &lt;analyzer type="index"&gt;
      &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
      &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /&gt;
      &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;filter class="solr.ReversedWildcardFilterFactory" withOriginal="true" 
              maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/&gt;
    &lt;/analyzer&gt;
    &lt;analyzer type="query"&gt;
      &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
      &lt;filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" 
              ignoreCase="true" expand="true"/&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>
  
  <p><strong>Solr 3.5</strong> (code from example):</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;fieldType name="text_general_rev" class="solr.TextField" positionIncrementGap="100"&gt;
    &lt;analyzer type="index"&gt;
      &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
      &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" 
              enablePositionIncrements="true" /&gt;
      &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;filter class="solr.ReversedWildcardFilterFactory" withOriginal="true" 
              maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/&gt;
    &lt;/analyzer&gt;
    &lt;analyzer type="query"&gt;
      &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
      &lt;filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
              ignoreCase="true" expand="true"/&gt;
      &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" 
              enablePositionIncrements="true" /&gt;
      &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
    &lt;/analyzer&gt;
  &lt;/fieldType&gt;
  </code></pre>
  
  <p>Solr query:</p>
  
  <pre><code>http://localhost:8983/solr/collection1/select?q=text_rev%3A*do&amp;wt=xml&amp;indent=true&amp;debugQuery=true
  </code></pre>
  
  <p><strong>Solr3.5 debug:</strong></p>
  
  <pre><code>'rawquerystring':'text_rev:*do',
  'querystring':'text_rev:*do',
  'parsedquery':'text_rev:#1;od*',
  'parsedquery_toString':'text_rev:#1;od*'
  </code></pre>
  
  <p><strong>Solr4.10.3 debug:</strong></p>
  
  <pre><code>'rawquerystring':'text_rev:*do',
  'querystring':'text_rev:*do',
  'parsedquery':'(text_rev:*do)',
  'parsedquery_toString':'text_rev:*do',
  </code></pre>
  
  <p>In the Solr 3.5 revers token was used in the query processing ('text_rev:#1;od*'). In the Solr4.10.3 not? Why?</p>