私が今持っていることは2重fildsです:1つの場所でダブル2をインポート
<field name="x_geo_x_coordinate" type="double" indexed="true" stored="true" default="0"/>
<field name="x_geo_y_coordinate" type="double" indexed="true" stored="true" default="0"/>
と、私が欲しいもの:1つの場所フィールドで2 double値:
<field name="x_geo" type="location" indexed="true" stored="true" default="0.0,0.0"/>
私がこれまでに試したことはありません:
<copyField source="*_coordinate" dest="x_geo"/>
<copyField source="x_geo_str" dest="x_geo"/>
簡単な解決方法はありますか?前もって感謝します!
私に短い例を教えてもらえますか? – vuky