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 document
to solr (i.e. solrServer.add(solrInputDocument)).
*
*

*Question:*
Is it a legal way to index:
solrInputDocument.addField("myGeoField",
JtsSpatialContext.GEO.readShape(shapeString));
solr.add(solrInputDocument);

 or I'll have to stick to the WKT format.




Any help will be highly appreciated.

Thanks,

Shahbaz

Reply via email to