我从Solr收到此消息。Solr空间搜索:“无法在多值字段上使用FieldCache”
我的schema.xml中的相关行将位置字段放置为非多值字段,如下所示。
<field name="latlong_current" type="location" indexed="true" stored="false" omitNorms="true" multiValued="false" />
是否有其他人遇到过这种空间搜索功能?
我从Solr收到此消息。Solr空间搜索:“无法在多值字段上使用FieldCache”
我的schema.xml中的相关行将位置字段放置为非多值字段,如下所示。
<field name="latlong_current" type="location" indexed="true" stored="false" omitNorms="true" multiValued="false" />
是否有其他人遇到过这种空间搜索功能?
我没有使用位置字段类型,但我会查看确保该类型的分析不会将其分解为多个标记。显然有一个LatLonType来存储地理编码,是“位置”设置为?
否则,Solr人员会在他们的邮件列表和IRC上真正做出响应,如果您在此没有得到您需要的答案,请尝试!
如果你在你的schema.xml这些领域里,你应该确保它们设置为多值=假
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" multiValued="false"/>
<dynamicField name="*_p" type="location" indexed="true" stored="true" multiValued="false"/>
它已经有一段时间,确实Solr的4.8.x支持此功能? – wakeup