File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 82
82
<dynamicField name =" *_dts" type =" date" indexed =" true" stored =" true" multiValued =" true" />
83
83
<dynamicField name =" *_coordinate" type =" tdouble" indexed =" true" stored =" false" multiValued =" false" />
84
84
<dynamicField name =" *_p" type =" location" indexed =" true" stored =" true" multiValued =" false" />
85
+ <dynamicField name =" *_srpt" type =" location_rpt" indexed =" true" stored =" true" multiValued =" false" />
85
86
86
87
<!-- some trie-coded dynamic fields for faster range queries -->
87
88
<dynamicField name =" *_ti" type =" tint" indexed =" true" stored =" true" multiValued =" false" />
407
408
-->
408
409
<fieldtype name =" geohash" class =" solr.GeoHashField" />
409
410
411
+ <!-- An alternative geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
412
+ For more information about this and other Spatial fields new to Solr 4, see:
413
+ http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
414
+ -->
415
+ <!-- `maxDistErr` of one meter (0.001 kilometers) is just a bit less than 0.000009 degrees.
416
+ For more information about this, see:
417
+ https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.7.pdf
418
+ -->
419
+ <fieldType name =" location_rpt" class =" solr.SpatialRecursivePrefixTreeFieldType"
420
+ geo =" true" distErrPct =" 0.025" maxDistErr =" 0.000009" units =" degrees" />
421
+
410
422
<!-- some examples for different languages (generally ordered by ISO code) -->
411
423
412
424
<!-- Arabic -->
You can’t perform that action at this time.
0 commit comments