我從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