solrschema.xmlにこのフィールドがあります
<field name="geocode"
type="location"
indexed="true"
stored="true"
multiValued="false" />
C#クラスに必要なオブジェクトの種類は何ですか?
私はそれを試していますが、solrはエラーをスローします。
[SolrField("geocode")]
public System.Drawing.PointF GeoCode { get; set; }
SEVERE: java.lang.NumberFormatException: For input string: "{X=0"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Double.parseDouble(Unknown Source)
at org.apache.lucene.spatial.DistanceUtils.parsePointDouble(DistanceUtil
s.java:410)
誰か助けてもらえますか?