Project

General

Profile

« Previous | Next » 

Revision 46714

removed s* numeric field types, they are deprecated in most recent versions

View differences:

modules/dnet-index-solr-service/trunk/src/main/resources/eu/dnetlib/functionality/index/conf/schemaTemplate.xslt
111 111
				<!-- A Trie based date field for faster date range queries and date faceting. -->
112 112
				<fieldType name="tdate" class="solr.TrieDateField" precisionStep="6" positionIncrementGap="0"/>
113 113

  
114
				<!--
115
				  Note:
116
				  These should only be used for compatibility with existing indexes (created with older Solr versions)
117
				  or if "sortMissingFirst" or "sortMissingLast" functionality is needed. Use Trie based fields instead.
118

  
119
				  Numeric field types that manipulate the value into
120
				  a string value that isn't human-readable in its internal form,
121
				  but with a lexicographic ordering the same as the numeric ordering,
122
				  so that range queries work correctly.
123
				-->
124
				<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
125
				<fieldType name="slong" class="solr.SortableLongField" sortMissingLast="true" omitNorms="true"/>
126
				<fieldType name="sfloat" class="solr.SortableFloatField" sortMissingLast="true" omitNorms="true"/>
127
				<fieldType name="sdouble" class="solr.SortableDoubleField" sortMissingLast="true" omitNorms="true"/>
128

  
129 114
				<!-- A text field that uses WordDelimiterFilter to enable splitting and matching of
130 115
					words on case-change, alpha numeric boundaries, and non-alphanumeric chars,
131 116
					so that a query of "wifi" or "wi fi" could match a document containing "Wi-Fi".
......
302 287
					<xsl:variable name="fieldname" select="translate(@name, $uppercase, $smallcase)"/>
303 288
					<xsl:variable name="fieldtype">
304 289
						<xsl:choose>
305
							<xsl:when test="@type='int'">sint</xsl:when>
290
							<xsl:when test="@type='int'">int</xsl:when>
306 291
							<xsl:when test="@type='date'">date</xsl:when>
307 292
							<xsl:when test="@type='ngramtext'">ngramtext</xsl:when>
308 293
							<xsl:when test="@type='long_keyword'">long_keyword</xsl:when>

Also available in: Unified diff