Yeap, AFAIK you can only send the field in WKT format POINT (X Y), here
is my definition for lat lons using polygons in the map:
*JTS field definition:*
class="solr.SpatialRecursivePrefixTreeFieldType"
spatialContextFactory="com.spatial4j.core.context.jts.JtsSpatialContextFact
Thanks Guido for the reply,
Just to clarify; this means that we cannot index JTS POINT in format
like Pt(x=55.76056,y=24.19167).
Is that so?
Thanks again.
On Mon, Oct 14, 2013 at 4:20 PM, Guido Medina wrote:
> WKT format should work, like explained in the wiki:
>
> http://en.wikipedia.org/wiki
WKT format should work, like explained in the wiki:
http://en.wikipedia.org/wiki/Well-known_text
Guido.
On 14/10/13 11:50, Shahbaz lodhi wrote:
Hi,
*Story:*
I am trying to index *JTS point* in following format; not successful though:
Pt(x=55.76056,y=24.19167)
It is the format that i get by ct
Hi,
*Story:*
I am trying to index *JTS point* in following format; not successful though:
Pt(x=55.76056,y=24.19167)
It is the format that i get by ctx.readShape( shapeString ).
I don't get any error at reading shape or adding shape
to solrInputDocument but prompts "*error reading WKT*" on adding