I have been testing orient db for quite some time and I have been recently testing it to develop geo-spatial application.
I am using version 2.1.0 community edition, august 2015 release. All these where performed on orient-db studio on firefox browser. I created a test class BBB and created manadatory properties name(string), lat(double), lon(double) and defined a lucene index BBB.lat_lon as per https://github.com/orientechnologies/orientdb-lucene/wiki/Spatial-Index Then I inserted some test data picked from a subset. The query select from BBB where [lat,lon] NEAR [point,point] gives no result. Queries select * from BBB where [lat,lon,$spatial] NEAR [point,point,{"maxDistance":kms}] select *,$distance from BBB where [lat,lon,$spatial] NEAR [point,point,{"maxDistance":kms}] returns proper results. Have anyone else noticed? Or is the query "select from BBB where [lat,lon] NEAR [point,point]" wrong? Also is there any JAVA API documentation that guides correctly the proper way to do most common basic things like proper way to CRUD documents, CRUD graph(vertex, edge, relations), CRUD Object etc? I am talking about JAVA API, because I have used oriento python driver and it works as documented and I can work on it just by going through its readme for 10 minutes. Orient Db doesn't require drivers to use in java/scala. Instead of being able to write production code, end up have to search all over internet because I have been trying to do something, but the java documentation is so lacking. There are java docs, but it is so hard to find how to do comprehend. The orient db documentation (http://orientdb.com/docs/last/Java-API.html) says it can be done with a particular class. Then this happens. Adds the libs given with distribution to class path. Frantically searching for the exact class described in example. Fails miserably. Initial enthusiasm gone after 2 hours because classes have moved and not documented or given class in a documentation is missing entirely! How would this be widely adopted unless.. -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
