It would be really helpful if you showed how you are adding these shapes and the error messages that you are getting. I tried indexing the first shape in v6.3.1 and it seems to work fine. I didn't test it in v5.6 because support for WKT syntax was added only in v6.2 and you only provided WKT format.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.