Hi,
I have an schema.xml with the following fields:
<field name="intId" type="tint" indexed="true" stored="true" required="true" multiValued="false" />
<field name="geoLatLon" type="LatLonType" indexed="true" stored="true" required="true" multiValued="false" />
In my solution I have a class with the same attributes, but I don't know which type I should use for the field "geoLatLon":
class Location
{
[SolrField("intId")]
public int id { get; set; }
[SolrField("geoLatLon")]
public ??? latlon{ get; set; }
}
I would like to know it in order to add documents in a easy way.
ISolrOperations<Location> solr = ServiceLocator.Current.GetInstance<ISolrOperations<Location>>();
Location location = new Location();
location.latlon= ???;
solr.Add(location);
I'm using SolrNet 0.4 and Solr 5.5.3