title: _version_ field must exist in schema and be searchable : Solr 6.2.0
body: <p>I am facing a similar issue to <a href="https://stackoverflow.com/questions/36942477/solr-version-field-must-exist-in-schema-and-be-searchable">the questions asked earlier</a>. However, I am not able to resolve the error even after restarting the solr server.</p>
  
  <p>As mentioned in the referenced question, I have checked everything.</p>
  
  <ol>
  <li>Schema version is 1.6</li>
  <li>No <em>types</em> or <em>fields</em> tags present.</li>
  </ol>
  
  <p>Here is my <code>schema.xml</code> file:</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;    
  &lt;schema name="test" version="1.6"&gt;    
    &lt;fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/&gt;
    &lt;fieldType name="float" class="solr.TrieFloatField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/&gt;
    &lt;fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/&gt;
    &lt;fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/&gt;
  
    &lt;fieldType name="tint" class="solr.TrieIntField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/&gt;
    &lt;fieldType name="tfloat" class="solr.TrieFloatField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/&gt;
    &lt;fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/&gt;
    &lt;fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/&gt;
  
    &lt;!-- Field type demonstrating an Analyzer failure --&gt;
    &lt;fieldType name="failtype1" class="solr.TextField"&gt;
      &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="0" catenateWords="0"
                catenateNumbers="0" catenateAll="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;!-- Demonstrating ignoreCaseChange --&gt;
    &lt;fieldType name="wdf_nocase" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="0" catenateWords="0"
                catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" preserveOriginal="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;fieldType name="wdf_preserve" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="1" catenateWords="0"
                catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" preserveOriginal="1"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
  
    &lt;fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/&gt;
    &lt;fieldType name="string" class="solr.StrField" sortMissingLast="true"/&gt;
  
    &lt;!-- format for date is 1995-12-31T23:59:59.999Z and only the fractional
         seconds part (.999) is optional.
      --&gt;
    &lt;fieldType name="date" class="solr.TrieDateField" precisionStep="0"/&gt;
    &lt;fieldType name="tdate" class="solr.TrieDateField" precisionStep="6"/&gt;
  
  
    &lt;!-- solr.TextField allows the specification of custom
         text analyzers specified as a tokenizer and a list
         of token filters.
      --&gt;
    &lt;fieldType name="text" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
        &lt;filter class="solr.StandardFilterFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;filter class="solr.StopFilterFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
  
    &lt;fieldType name="nametext" class="solr.TextField"&gt;
      &lt;analyzer class="org.apache.lucene.analysis.core.WhitespaceAnalyzer"/&gt;
    &lt;/fieldType&gt;
  
    &lt;fieldType name="teststop" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.LowerCaseTokenizerFactory"/&gt;
        &lt;filter class="solr.StandardFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;!-- fieldTypes in this section isolate tokenizers and tokenfilters for testing --&gt;
    &lt;fieldType name="lowertok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.LowerCaseTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="keywordtok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory" pattern="keyword"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="standardtok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="lettertok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.LetterTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="whitetok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="HTMLstandardtok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;charFilter class="solr.HTMLStripCharFilterFactory"/&gt;
        &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="HTMLwhitetok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;charFilter class="solr.HTMLStripCharFilterFactory"/&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="standardtokfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
        &lt;filter class="solr.StandardFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="standardfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.StandardFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="lowerfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="lowerpunctfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1"
                catenateNumbers="1" catenateAll="1" splitOnCaseChange="1"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="patternreplacefilt" class="solr.TextField"&gt;
      &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory" pattern="keyword"/&gt;
        &lt;filter class="solr.PatternReplaceFilterFactory"
                pattern="([^a-zA-Z])" replacement="_" replace="all"
        /&gt;
      &lt;/analyzer&gt;
      &lt;analyzer type="query"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory" pattern="keyword"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="patterntok" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.PatternTokenizerFactory" pattern=","/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="porterfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;!-- fieldType name="snowballfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.SnowballPorterFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType --&gt;
    &lt;fieldType name="engporterfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="custengporterfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="stopfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.StopFilterFactory" ignoreCase="true"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="custstopfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="lengthfilt" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.LengthFilterFactory" min="2" max="5"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    &lt;fieldType name="charfilthtmlmap" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;charFilter class="solr.HTMLStripCharFilterFactory"/&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;fieldType name="subword" class="solr.TextField" multiValued="true" positionIncrementGap="100"&gt;
      &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1"
                catenateNumbers="1" catenateAll="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;filter class="solr.StopFilterFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
      &lt;analyzer type="query"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0"
                catenateNumbers="0" catenateAll="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;filter class="solr.StopFilterFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;fieldType name="numericsubword" class="solr.TextField" multiValued="true" positionIncrementGap="100"&gt;
      &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" splitOnNumerics="0" splitOnCaseChange="0" generateWordParts="1"
                generateNumberParts="0" catenateWords="0" catenateNumbers="0" catenateAll="0"/&gt;
        &lt;filter class="solr.StopFilterFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
      &lt;analyzer type="query"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" splitOnNumerics="0" splitOnCaseChange="0" generateWordParts="1"
                generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0"/&gt;
        &lt;filter class="solr.StopFilterFactory"/&gt;
        &lt;filter class="solr.PorterStemFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;fieldType name="protectedsubword" class="solr.TextField" multiValued="true" positionIncrementGap="100"&gt;
      &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" splitOnNumerics="0" splitOnCaseChange="0" generateWordParts="1"
                generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0"/&gt;
      &lt;/analyzer&gt;
      &lt;analyzer type="query"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
  
    &lt;!-- more flexible in matching skus, but more chance of a false match --&gt;
    &lt;fieldType name="skutype1" class="solr.TextField"&gt;
      &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1"
                catenateNumbers="1" catenateAll="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
      &lt;analyzer type="query"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1"
                catenateNumbers="1" catenateAll="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;!-- less flexible in matching skus, but less chance of a false match --&gt;
    &lt;fieldType name="skutype2" class="solr.TextField"&gt;
      &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1"
                catenateNumbers="1" catenateAll="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
      &lt;analyzer type="query"&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1"
                catenateNumbers="1" catenateAll="0"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;!-- less flexible in matching skus, but less chance of a false match --&gt;
    &lt;fieldType name="syn" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
  
    &lt;fieldType name="unstored" class="solr.StrField" indexed="true" stored="false"/&gt;
  
  
    &lt;fieldType name="textgap" class="solr.TextField" multiValued="true" positionIncrementGap="100"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
  
    &lt;fieldType name="uuid" class="solr.UUIDField"/&gt;
  
    &lt;!-- Try out some point types --&gt;
    &lt;fieldType name="xy" class="solr.PointType" dimension="2" subFieldType="double"/&gt;
    &lt;fieldType name="x" class="solr.PointType" dimension="1" subFieldType="double"/&gt;
    &lt;fieldType name="tenD" class="solr.PointType" dimension="10" subFieldType="double"/&gt;
    &lt;!-- Use the sub field suffix --&gt;
    &lt;fieldType name="xyd" class="solr.PointType" dimension="2" subFieldSuffix="_d1"/&gt;
    &lt;fieldType name="geohash" class="solr.GeoHashField"/&gt;
  
  
    &lt;fieldType name="latLon" class="solr.LatLonType" subFieldType="double"/&gt;
  
    &lt;!--  some per-field similarity examples --&gt;
  
    &lt;!--  specify a Similarity classname directly --&gt;
    &lt;!--
    &lt;fieldType name="sim1" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
      &lt;similarity class="org.apache.lucene.misc.SweetSpotSimilarity"/&gt;
    &lt;/fieldType&gt;
    --&gt;
    &lt;!--  specify a Similarity factory --&gt;
    &lt;!--
    &lt;fieldType name="sim2" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
      &lt;similarity class="org.apache.solr.search.similarities.CustomSimilarityFactory"&gt;
        &lt;str name="echo"&gt;is there an echo?&lt;/str&gt;
      &lt;/similarity&gt;
    &lt;/fieldType&gt;
    --&gt;
    &lt;!-- don't specify any sim at all: get the default  --&gt;
    &lt;!--
    &lt;fieldType name="sim3" class="solr.TextField"&gt;
      &lt;analyzer&gt;
        &lt;tokenizer class="solr.MockTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
    &lt;/fieldType&gt;
    --&gt;
  
  
    &lt;field name="id" type="int" indexed="true" stored="true" multiValued="false" required="false"/&gt;
    &lt;field name="signatureField" type="string" indexed="true" stored="false"/&gt;
    &lt;field name="uuid" type="uuid" stored="true"/&gt;
    &lt;field name="name" type="nametext" indexed="true" stored="true"/&gt;
    &lt;field name="text" type="text" indexed="true" stored="false"/&gt;
    &lt;field name="subject" type="text" indexed="true" stored="true"/&gt;
    &lt;field name="title" type="nametext" indexed="true" stored="true"/&gt;
    &lt;field name="weight" type="float" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;field name="bday" type="date" indexed="true" stored="true" multiValued="false"/&gt;
  
    &lt;field name="title_stemmed" type="text" indexed="true" stored="false"/&gt;
    &lt;field name="title_lettertok" type="lettertok" indexed="true" stored="false"/&gt;
  
    &lt;field name="syn" type="syn" indexed="true" stored="true"/&gt;
  
    &lt;!-- to test property inheritance and overriding --&gt;
    &lt;field name="shouldbeunstored" type="unstored"/&gt;
    &lt;field name="shouldbestored" type="unstored" stored="true"/&gt;
    &lt;field name="shouldbeunindexed" type="unstored" indexed="false" stored="true"/&gt;
  
    &lt;!-- Test points --&gt;
    &lt;!-- Test points --&gt;
    &lt;field name="home" type="xy" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;field name="x" type="x" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;field name="homed" type="xyd" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;field name="home_ns" type="xy" indexed="true" stored="false" multiValued="false"/&gt;
    &lt;field name="work" type="xy" indexed="true" stored="true" multiValued="false"/&gt;
  
    &lt;field name="home_ll" type="latLon" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;field name="home_gh" type="geohash" indexed="true" stored="true" multiValued="false"/&gt;
  
  
    &lt;field name="point10" type="tenD" indexed="true" stored="true" multiValued="false"/&gt;
  
  
    &lt;!-- test different combinations of indexed and stored --&gt;
    &lt;field name="bind" type="boolean" indexed="true" stored="false"/&gt;
    &lt;field name="bsto" type="boolean" indexed="false" stored="true"/&gt;
    &lt;field name="bindsto" type="boolean" indexed="true" stored="true"/&gt;
    &lt;field name="isto" type="int" indexed="false" stored="true"/&gt;
    &lt;field name="iind" type="int" indexed="true" stored="false"/&gt;
    &lt;field name="ssto" type="string" indexed="false" stored="true"/&gt;
    &lt;field name="sind" type="string" indexed="true" stored="false"/&gt;
    &lt;field name="sindsto" type="string" indexed="true" stored="true"/&gt;
  
    &lt;!-- test combinations of term vector settings --&gt;
    &lt;field name="test_basictv" type="text" termVectors="true"/&gt;
    &lt;field name="test_notv" type="text" termVectors="false"/&gt;
    &lt;field name="test_postv" type="text" termVectors="true" termPositions="true"/&gt;
    &lt;field name="test_offtv" type="text" termVectors="true" termOffsets="true"/&gt;
    &lt;field name="test_posofftv" type="text" termVectors="true"
           termPositions="true" termOffsets="true"/&gt;
  
    &lt;!-- fields to test individual tokenizers and tokenfilters --&gt;
    &lt;field name="teststop" type="teststop" indexed="true" stored="true"/&gt;
    &lt;field name="lowertok" type="lowertok" indexed="true" stored="true"/&gt;
    &lt;field name="keywordtok" type="keywordtok" indexed="true" stored="true"/&gt;
    &lt;field name="standardtok" type="standardtok" indexed="true" stored="true"/&gt;
    &lt;field name="HTMLstandardtok" type="HTMLstandardtok" indexed="true" stored="true"/&gt;
    &lt;field name="lettertok" type="lettertok" indexed="true" stored="true"/&gt;
    &lt;field name="whitetok" type="whitetok" indexed="true" stored="true"/&gt;
    &lt;field name="HTMLwhitetok" type="HTMLwhitetok" indexed="true" stored="true"/&gt;
    &lt;field name="standardtokfilt" type="standardtokfilt" indexed="true" stored="true"/&gt;
    &lt;field name="standardfilt" type="standardfilt" indexed="true" stored="true"/&gt;
    &lt;field name="lowerfilt" type="lowerfilt" indexed="true" stored="true"/&gt;
    &lt;field name="lowerfilt1" type="lowerfilt" indexed="true" stored="true"/&gt;
    &lt;field name="lowerfilt1and2" type="lowerfilt" indexed="true" stored="true"/&gt;
    &lt;field name="patterntok" type="patterntok" indexed="true" stored="true"/&gt;
    &lt;field name="patternreplacefilt" type="patternreplacefilt" indexed="true" stored="true"/&gt;
    &lt;field name="porterfilt" type="porterfilt" indexed="true" stored="true"/&gt;
    &lt;field name="engporterfilt" type="engporterfilt" indexed="true" stored="true"/&gt;
    &lt;field name="custengporterfilt" type="custengporterfilt" indexed="true" stored="true"/&gt;
    &lt;field name="stopfilt" type="stopfilt" indexed="true" stored="true"/&gt;
    &lt;field name="custstopfilt" type="custstopfilt" indexed="true" stored="true"/&gt;
    &lt;field name="lengthfilt" type="lengthfilt" indexed="true" stored="true"/&gt;
    &lt;field name="wdf_nocase" type="wdf_nocase" indexed="true" stored="true"/&gt;
    &lt;field name="wdf_preserve" type="wdf_preserve" indexed="true" stored="true"/&gt;
  
    &lt;field name="numberpartfail" type="failtype1" indexed="true" stored="true"/&gt;
  
    &lt;field name="nullfirst" type="string" indexed="true" stored="true" sortMissingFirst="true" multiValued="false"/&gt;
  
    &lt;field name="subword" type="subword" indexed="true" stored="true"/&gt;
    &lt;field name="subword_offsets" type="subword" indexed="true" stored="true" termOffsets="true"/&gt;
    &lt;field name="numericsubword" type="numericsubword" indexed="true" stored="true"/&gt;
    &lt;field name="protectedsubword" type="protectedsubword" indexed="true" stored="true"/&gt;
  
    &lt;field name="sku1" type="skutype1" indexed="true" stored="true"/&gt;
    &lt;field name="sku2" type="skutype2" indexed="true" stored="true"/&gt;
  
    &lt;field name="textgap" type="textgap" indexed="true" stored="true"/&gt;
  
    &lt;field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/&gt;
    &lt;field name="multiDefault" type="string" indexed="true" stored="true" default="muLti-Default" multiValued="true"/&gt;
    &lt;field name="intDefault" type="int" indexed="true" stored="true" default="42" multiValued="false"/&gt;
  
    &lt;!--
    &lt;field name="sim1text" type="sim1" indexed="true" stored="true"/&gt;
    &lt;field name="sim2text" type="sim2" indexed="true" stored="true"/&gt;
    &lt;field name="sim3text" type="sim3" indexed="true" stored="true"/&gt;
    --&gt;
  
    &lt;field name="tlong" type="tlong" indexed="true" stored="true"/&gt;
  
    &lt;field name="_version_" type="long" indexed="true" stored="true"/&gt;
  
    &lt;!-- Dynamic field definitions.  If a field name is not found, dynamicFields
         will be used if the name matches any of the patterns.
         RESTRICTION: the glob-like pattern in the name attribute must have
         a "*" only at the start or the end.
         EXAMPLE:  name="*_i" will match any field ending in _i (like myid_i, z_i)
         Longer patterns will be matched first.  if equal size patterns
         both match, the first appearing in the schema will be used.
    --&gt;
    &lt;dynamicField name="*_i" type="int" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_i1" type="int" indexed="true" stored="true" multiValued="false"/&gt;
  
    &lt;dynamicField name="*_s" type="string" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_s1" type="string" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_l" type="long" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_l1" type="long" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_t" type="text" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_b" type="boolean" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_f" type="float" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_f1" type="float" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_d" type="double" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_d1" type="double" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_dt" type="date" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_dt1" type="date" indexed="true" stored="true" multiValued="false"/&gt;
  
    &lt;!-- some trie-coded dynamic fields for faster range queries --&gt;
    &lt;dynamicField name="*_ti" type="tint" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_ti1" type="tint" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_tl" type="tlong" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_tl1" type="tlong" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_tf" type="tfloat" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_tf1" type="tfloat" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_td" type="tdouble" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_td1" type="tdouble" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_tds" type="tdouble" indexed="true" stored="true" multiValued="false"/&gt;
    &lt;dynamicField name="*_tdt" type="tdate" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_tdt1" type="tdate" indexed="true" stored="true" multiValued="false"/&gt;
  
    &lt;dynamicField name="*_sI" type="string" indexed="true" stored="false"/&gt;
    &lt;dynamicField name="*_sS" type="string" indexed="false" stored="true"/&gt;
    &lt;dynamicField name="t_*" type="text" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="tv_*" type="text" indexed="true" stored="true"
                  termVectors="true" termPositions="true" termOffsets="true"/&gt;
    &lt;dynamicField name="tv_mv_*" type="text" indexed="true" stored="true" multiValued="true"
                  termVectors="true" termPositions="true" termOffsets="true"/&gt;
  
    &lt;dynamicField name="*_p" type="xyd" indexed="true" stored="true" multiValued="false"/&gt;
  
    &lt;!-- special fields for dynamic copyField test --&gt;
    &lt;dynamicField name="dynamic_*" type="string" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_dynamic" type="string" indexed="true" stored="true"/&gt;
  
    &lt;!-- for testing to ensure that longer patterns are matched first --&gt;
    &lt;dynamicField name="*aa" type="string" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*aaa" type="int" indexed="false" stored="true"/&gt;
  
    &lt;!-- ignored becuase not stored or indexed --&gt;
    &lt;dynamicField name="*_ignored" type="text" indexed="false" stored="false"/&gt;
  
    &lt;dynamicField name="*_mfacet" type="string" indexed="true" stored="false" multiValued="true"/&gt;
  
    &lt;!-- make sure custom sims work with dynamic fields --&gt;
    &lt;!--
    &lt;dynamicField name="*_sim1" type="sim1" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_sim2" type="sim2" indexed="true" stored="true"/&gt;
    &lt;dynamicField name="*_sim3" type="sim3" indexed="true" stored="true"/&gt;
    --&gt;
  
    &lt;defaultSearchField&gt;text&lt;/defaultSearchField&gt;
    &lt;uniqueKey&gt;id&lt;/uniqueKey&gt;
  
    &lt;!-- copyField commands copy one field to another at the time a document
          is added to the index.  It's used either to index the same field different
          ways, or to add multiple fields to the same field for easier/faster searching.
     --&gt;
    &lt;copyField source="title" dest="title_stemmed"/&gt;
    &lt;copyField source="title" dest="title_lettertok"/&gt;
  
    &lt;copyField source="title" dest="text"/&gt;
    &lt;copyField source="subject" dest="text"/&gt;
  
    &lt;copyField source="lowerfilt1" dest="lowerfilt1and2"/&gt;
    &lt;copyField source="lowerfilt" dest="lowerfilt1and2"/&gt;
  
    &lt;copyField source="*_t" dest="text"/&gt;
  
    &lt;copyField source="id" dest="range_facet_l"/&gt;
    &lt;copyField source="range_facet_f" dest="range_facet_d"/&gt;
  
    &lt;!-- dynamic destination --&gt;
    &lt;copyField source="*_dynamic" dest="dynamic_*"/&gt;
  
  &lt;/schema&gt;
  </code></pre>
  
  <p>Not sure why is it still giving issues. Attaching a screenshot for reference:
  <a href="https://i.stack.imgur.com/s1aEj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s1aEj.png" alt="solr 6.2.0 _version_ error"></a></p>
  
  <p>If it makes a difference, I got the schema.xml file from <a href="https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/test-files/solrj/solr/collection1/conf/schema.xml" rel="nofollow noreferrer">https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/test-files/solrj/solr/collection1/conf/schema.xml</a></p>