我有一个 Solr 架构,其中包含一个location
字段(使用默认值solr.LatLonType
):
<field name="latlng" type="location" indexed="true" stored="true"/>
我正在尝试使用 DataImportHandler 填充它。目前我SELECT
的值是 nvarchar,格式为17.74628,-64.70725
; 但是它没有填充 Solr 字段(它保持为空)。
此列应该采用什么类型和格式来更新location
Solr 中的字段?