Skip to content

Commit

Permalink
Remove unused (and deprecated) fields
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jun 5, 2024
1 parent 44bd556 commit ae6d60a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 31 deletions.
4 changes: 0 additions & 4 deletions cidr-dig-hcrc-prod/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ both match, the first appearing in the schema will be used. -->
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="true"/>

<dynamicField name="*_dt" type="date" indexed="true" stored="true"/>
<dynamicField name="*_p" type="location" indexed="true" stored="true"/>

<!-- some trie-coded dynamic fields for faster range queries -->
<dynamicField name="*_ti" type="tint" indexed="true" stored="true"/>
Expand Down Expand Up @@ -703,9 +702,6 @@ or to add multiple fields to the same field for easier/faster searching. -->
-->
<fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>

<!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>

<!-- An alternative geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
For more information about this and other Spatial fields new to Solr 4, see:
http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
Expand Down
4 changes: 0 additions & 4 deletions earthworks-prod/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
as WKT for point, linestring, polygon
-->
<dynamicField name="*_pt" type="location" stored="true" indexed="true"/>
<dynamicField name="*_bbox" type="location_rpt" stored="true" indexed="true"/><!-- deprecated -->
<dynamicField name="*_geom" type="location_rpt" stored="true" indexed="true"/>
<!-- <dynamicField name="*_jts" type="location_jts" stored="true" indexed="true"/> -->
Expand Down Expand Up @@ -133,9 +132,6 @@
</analyzer>
</fieldType>

<!-- Spatial field types -->
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_d"/>

<fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType"
distErrPct="0.025"
maxDistErr="0.000009"
Expand Down
3 changes: 0 additions & 3 deletions earthworks-stage/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
as WKT for point, linestring, polygon
-->
<dynamicField name="*_pt" type="location" stored="true" indexed="true"/>
<dynamicField name="*_bbox" type="location_rpt" stored="true" indexed="true"/><!-- deprecated -->
<dynamicField name="*_geom" type="location_rpt" stored="true" indexed="true"/>
<!-- <dynamicField name="*_jts" type="location_jts" stored="true" indexed="true"/> -->
Expand Down Expand Up @@ -134,8 +133,6 @@
</fieldType>

<!-- Spatial field types -->
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_d"/>

<fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType"
distErrPct="0.025"
maxDistErr="0.000009"
Expand Down
10 changes: 0 additions & 10 deletions exhibits/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,8 @@
<dynamicField name="*_tesimv" type="text" stored="true" indexed="true" multiValued="true" storeOffsetsWithPositions="true" termVectors="true" />
<dynamicField name="*_bsi" type="boolean" stored="true" indexed="true" multiValued="true" omitNorms="true" />
<dynamicField name="*_ng" type="text_en_ng" stored="false" indexed="true" multiValued="true"/>
<dynamicField name="*_pt" type="location" stored="true" indexed="true"/>
<dynamicField name="*_bbox" type="bbox" stored="true" indexed="true" multiValued="true"/>
<dynamicField name="*_srpt" type="location_rpt" stored="true" indexed="true" multiValued="true"/>
<dynamicField name="*_geohash" type="geohash" stored="true" indexed="true" multiValued="true"/>
<dynamicField name="*_ts" type="text" indexed="false" stored="true" multiValued="false" />
<dynamicField name="random*" type="random" />
</fields>
Expand Down Expand Up @@ -613,14 +611,6 @@
-->
<fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>

<!-- A Geohash is a compact representation of a latitude longitude pair in a single field.
See http://wiki.apache.org/solr/SpatialSearch
-->
<fieldtype name="geohash" class="solr.GeoHashField"/>

<!-- A specialized field for geospatial search. If indexed, fields of this type must NOT be multivalued. -->
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>

<!-- An alternative geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
For more information about this and other Spatial fields new to Solr 4, see:
http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
Expand Down
10 changes: 0 additions & 10 deletions exhibits_stage/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,8 @@
<dynamicField name="*_tesimv" type="text" stored="true" indexed="true" multiValued="true" storeOffsetsWithPositions="true" termVectors="true" />
<dynamicField name="*_bsi" type="boolean" stored="true" indexed="true" multiValued="true" omitNorms="true" />
<dynamicField name="*_ng" type="text_en_ng" stored="false" indexed="true" multiValued="true"/>
<dynamicField name="*_pt" type="location" stored="true" indexed="true"/>
<dynamicField name="*_bbox" type="bbox" stored="true" indexed="true" multiValued="true"/>
<dynamicField name="*_srpt" type="location_rpt" stored="true" indexed="true" multiValued="true"/>
<dynamicField name="*_geohash" type="geohash" stored="true" indexed="true" multiValued="true"/>
<dynamicField name="*_ts" type="text" indexed="false" stored="true" multiValued="false" />
<dynamicField name="random*" type="random" />
</fields>
Expand Down Expand Up @@ -597,14 +595,6 @@
-->
<fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>

<!-- A Geohash is a compact representation of a latitude longitude pair in a single field.
See http://wiki.apache.org/solr/SpatialSearch
-->
<fieldtype name="geohash" class="solr.GeoHashField"/>

<!-- A specialized field for geospatial search. If indexed, fields of this type must NOT be multivalued. -->
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>

<!-- An alternative geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
For more information about this and other Spatial fields new to Solr 4, see:
http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
Expand Down

0 comments on commit ae6d60a

Please sign in to comment.