| <?xml version="1.0" ?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <schema name="test" version="1.4"> |
| |
| <fieldType name="tint" class="${solr.tests.IntegerFieldType}" docValues="${solr.tests.numeric.dv}" precisionStep="8"/> |
| <fieldType name="tfloat" class="${solr.tests.FloatFieldType}" docValues="${solr.tests.numeric.dv}" precisionStep="8"/> |
| <fieldType name="tlong" class="${solr.tests.LongFieldType}" docValues="${solr.tests.numeric.dv}" precisionStep="8"/> |
| |
| <!-- tdouble class can't be randomized, because SpatialPointVectorFieldType requires TrieDoubleField. See SOLR-11111. --> |
| <fieldType name="tdouble" class="solr.TrieDoubleField" docValues="${solr.tests.numeric.dv}" precisionStep="8"/> |
| |
| <fieldType name="tdoubleDV" class="${solr.tests.DoubleFieldType}" precisionStep="8" docValues="true"/> |
| |
| <fieldType name="pdouble" class="solr.DoublePointField" docValues="true"/> |
| |
| <fieldType name="boolean" class="solr.BoolField"/> |
| |
| <fieldType name="string" class="solr.StrField" sortMissingLast="true"/> |
| |
| <fieldType name="srpt_geohash" class="solr.SpatialRecursivePrefixTreeFieldType" |
| prefixTree="geohash" distanceUnits="degrees" |
| /> |
| <fieldType name="srpt_quad" class="solr.SpatialRecursivePrefixTreeFieldType" |
| prefixTree="quad" distanceUnits="degrees" |
| /> |
| <fieldType name="srpt_packedquad" class="solr.SpatialRecursivePrefixTreeFieldType" |
| prefixTree="packedQuad" distanceUnits="degrees" |
| /> |
| <fieldType name="srpt_100km" class="solr.SpatialRecursivePrefixTreeFieldType" |
| maxDistErr="100" distanceUnits="kilometers" |
| /> |
| <fieldType name="stqpt_geohash" class="solr.SpatialTermQueryPrefixTreeFieldType" |
| prefixTree="geohash" distanceUnits="degrees"/> |
| |
| <fieldType name="stqpt_u" class="solr.SpatialTermQueryPrefixTreeFieldType" |
| geo="false" distCalculator="cartesian^2" worldBounds="ENVELOPE(0, 1000, 1000, 0)" distanceUnits="degrees"/> |
| |
| <fieldType name="pointvector" class="solr.SpatialPointVectorFieldType" |
| numberType="tdouble" distanceUnits="degrees"/> |
| |
| <fieldType name="srptgeom" class="solr.RptWithGeometrySpatialField"/> |
| |
| <fieldType name="srptgeom_geo3d" class="solr.RptWithGeometrySpatialField" |
| spatialContextFactory="Geo3D" prefixTree="geohash" planetModel="wgs84"/><!-- or sphere --> |
| |
| <fieldType name="srptgeom_s2_geo3d" class="solr.RptWithGeometrySpatialField" |
| spatialContextFactory="Geo3D" prefixTree="s2" planetModel="sphere"/> |
| |
| <fieldType name="bbox" class="solr.BBoxField" |
| numberType="tdoubleDV" distanceUnits="degrees" storeSubFields="false"/> |
| |
| <fieldType name="bbox_ndv" class="solr.BBoxField" |
| numberType="tdouble" distanceUnits="degrees" storeSubFields="false" docValues="false"/> |
| |
| <fieldType name="pbbox" class="solr.BBoxField" |
| numberType="pdouble" distanceUnits="degrees" storeSubFields="false"/> |
| |
| <fieldType name="llp" class="solr.LatLonPointSpatialField" distanceUnits="degrees" multiValued="true" /> |
| <fieldType name="oslocation" class="solr.SpatialRecursivePrefixTreeFieldType" geo="false" maxDistErr="0.000009" |
| worldBounds="ENVELOPE(0,700000,1300000,0)" distErrPct="0.15"/> |
| <fieldType name="oslocationold" class="solr.SpatialRecursivePrefixTreeFieldType" geo="false" maxDistErr="0.000009" |
| worldBounds="ENVELOPE(0,700000,1300000,0)" distErrPct="0.15" version="8.2.0"/> |
| <field name="id" type="string" required="true"/> |
| <field name="oslocation" type="oslocation" /> |
| <field name="oslocationold" type="oslocationold" /> |
| <field name="srpt_geohash" type="srpt_geohash" multiValued="true"/> |
| <field name="srpt_quad" type="srpt_quad" multiValued="true"/> |
| <field name="srpt_packedquad" type="srpt_packedquad" multiValued="true"/> |
| <field name="stqpt_geohash" type="stqpt_geohash" multiValued="true"/> |
| <field name="pointvector" type="pointvector"/> |
| <field name="srptgeom" type="srptgeom"/> |
| <field name="srptgeom_geo3d" type="srptgeom_geo3d"/> |
| <field name="srptgeom_s2_geo3d" type="srptgeom_s2_geo3d"/> |
| <field name="bbox" type="bbox"/> |
| <field name="pbbox" type="pbbox"/> |
| <field name="bbox_ndv" type="bbox_ndv"/> |
| <field name="llp" type="llp" indexed="true" docValues="true" /> |
| <field name="llp_idx" type="llp" indexed="true" docValues="false" /> |
| <field name="llp_dv" type="llp" indexed="false" docValues="true" /> |
| <field name="llp_1_dv_st" type="llp" indexed="false" docValues="true" stored="true" multiValued="false"/> |
| <field name="llp_N_dv_st" type="llp" indexed="false" docValues="true" stored="true" multiValued="true"/> |
| <field name="llp_1_dv" type="llp" indexed="false" docValues="true" stored="false" multiValued="false" useDocValuesAsStored="false"/> |
| <field name="llp_N_dv" type="llp" indexed="false" docValues="true" stored="false" multiValued="true" useDocValuesAsStored="false"/> |
| <field name="llp_1_dv_dvasst" type="llp" indexed="false" docValues="true" stored="false" multiValued="false" useDocValuesAsStored="true"/> |
| <field name="llp_N_dv_dvasst" type="llp" indexed="false" docValues="true" stored="false" multiValued="true" useDocValuesAsStored="true"/> |
| |
| <dynamicField name="bboxD_*" type="bbox" indexed="true"/> |
| <dynamicField name="str_*" type="string" indexed="true" stored="true"/> |
| |
| |
| <uniqueKey>id</uniqueKey> |
| |
| </schema> |