Skip to content

Instantly share code, notes, and snippets.

@aniav
Created March 9, 2016 22:25
Show Gist options
  • Save aniav/9a8d7935d31dd2006110 to your computer and use it in GitHub Desktop.
Save aniav/9a8d7935d31dd2006110 to your computer and use it in GitHub Desktop.
A set of definitions to remove when moving from Solr 3.x to Solr 5.5.x
<fieldType name="pint" class="solr.IntField"/>
<fieldType name="plong" class="solr.LongField"/>
<fieldType name="pfloat" class="solr.FloatField"/>
<fieldType name="pdouble" class="solr.DoubleField"/>
<fieldType name="pdate" class="solr.DateField" sortMissingLast="true"/>
<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="slong" class="solr.SortableLongField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="sfloat" class="solr.SortableFloatField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="sdouble" class="solr.SortableDoubleField" sortMissingLast="true" omitNorms="true"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment