Skip to content

Commit

Permalink
Remove references to LatLonType from Solr schema
Browse files Browse the repository at this point in the history
This type is deprecated in Solr. Its removal from the template here shouldn't
affect existing adopters who may be using it. It will be removed only for folks
running the generator after this commit.

Fixes #1370
  • Loading branch information
Tom Johnson authored and bess committed Apr 3, 2019
1 parent eed848c commit 03780e0
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@
-->
<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.
<!-- A 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 Expand Up @@ -325,14 +322,6 @@
<!-- Type used to index the lat and lon components for the "location" FieldType -->
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" />

<!-- location (_ll...) -->
<dynamicField name="*_lli" type="location" stored="false" indexed="true" multiValued="false"/>
<dynamicField name="*_llim" type="location" stored="false" indexed="true" multiValued="true"/>
<dynamicField name="*_lls" type="location" stored="true" indexed="false" multiValued="false"/>
<dynamicField name="*_llsm" type="location" stored="true" indexed="false" multiValued="true"/>
<dynamicField name="*_llsi" type="location" stored="true" indexed="true" multiValued="false"/>
<dynamicField name="*_llsim" type="location" stored="true" indexed="true" multiValued="true"/>

<dynamicField name="*suggest" type="textSuggest" indexed="true" stored="false" multiValued="true" />

<!-- you must define copyField source and dest fields explicity or schemaBrowser doesn't work -->
Expand Down

0 comments on commit 03780e0

Please sign in to comment.