[orientdb] Question on querying lucene geospatial index by traversing graph

2014-06-11 Thread Jonathan Rosen
Is it possible to query a geospatial index through related nodes with the lucene geospatial plugin? here is an example of what i'm trying to do. Let's say you have a simple database with real estate agents and the houses they have shown over time. The db structure looks like this: Vertices: Age

Re: [orientdb] ghost edge issue

2014-06-11 Thread Enrico Risa
Hi Luca, could you open an issue here https://github.com/orientechnologies/orientdb-studio/issues?state=open Thanks 2014-06-11 17:43 GMT+02:00 : > *OrientDB release 1.7.2* > > Hello, > in STUDIO->EDIT VERTEX window, in Out Edges panel I've got edges without > class name (check attachment) > I

[orientdb] ghost edge issue

2014-06-11 Thread luca
*OrientDB release 1.7.2* Hello, in STUDIO->EDIT VERTEX window, in Out Edges panel I've got edges without class name (check attachment) If I try to delete one edge this is the returned error: {"data":"java.lang.IllegalArgumentException: Cluster 71 is null","status":500,"config":{"method":"GET","t

Re: [orientdb] LiveScript, Coffeescript and IcedCoffeescript support through a hook and some orientdb-studio change

2014-06-11 Thread Enrico Risa
Cool MrFt i will try it :D 2014-06-11 14:32 GMT+02:00 MrFT : > Hello, > > If you are interested in these compile-to-javascript scripting langages, > please let me know what you think about the following... > > > I implemented a OrientDB hook that supports LiveScript and CoffeeScript > here: > h

Re: [orientdb] Suggestion for DB Schema for large scale chat application.

2014-06-11 Thread Prathap Reddy
Thanks for the reply, For example when a user1 is registered he will upload his phonebook to be added as contacts, whoever is registered users in that phonebook they will be added to friends relation of user. But whoever is not registered will not be added as their records will be non existent

Re: [orientdb] Suggestion for DB Schema for large scale chat application.

2014-06-11 Thread Prathap Reddy
@Artem Orobets Thanks for the reply. For example, I am a user first time registered to chat application, so I will upload contacts (My friend list) from phonebook to the server. Then those contacts to my friend list. So to keep it simple I am maintaining phone number as user name. So it wil

Re: [orientdb] [JAVA] Getting all elements of an index (all keys)

2014-06-11 Thread maggiolo00
Hi Montrazul, if you have this problem with Lucene and not SBTree you can fill a bug here directly https://github.com/orientechnologies/orientdb-lucene/issues it is more lucene engine related Enrico 2014-06-11 12:26 GMT+02:00 Montrazul : > No, the problem does not appear with SBTree. > Where

Re: [orientdb] [JAVA] Getting all elements of an index (all keys)

2014-06-11 Thread Montrazul
No, the problem does not appear with SBTree. Where can i create that issue? Am Mittwoch, 11. Juni 2014 10:23:21 UTC+2 schrieb Artem Orobets: > > Hi Montrazul, > > That looks like a bug. Could you create an issue? > Please specify there how the issue can be reproduced. > > Are you able to reproduce

Re: [orientdb] Suggestion for DB Schema for large scale chat application.

2014-06-11 Thread Artem Orobets
Hi Prathap, Sorry, I'm not really understand what do you want to achieve. Could you describe your data model and what manipulation do you want to do? Best regards, Artem Orobets * Orient Technologiesthe Company behind OrientDB* 2014-06-11 10:44 GMT+03:00 Prathap Reddy : > I have a whatsApp li

Re: [orientdb] how to i maintain data in a property

2014-06-11 Thread Artem Orobets
Hi Jaya, Type LINKLIST for X fits better for your case. The syntax of query is not correct, you have not specified a target: try following query: UPDATE #13:0 ADD X = #11:0 instead of 13:0 insert RID of your document with list. Best regards, Artem Orobets * Orient Technologiesthe Company behin

Re: [orientdb] [JAVA] Getting all elements of an index (all keys)

2014-06-11 Thread Artem Orobets
Hi Montrazul, That looks like a bug. Could you create an issue? Please specify there how the issue can be reproduced. Are you able to reproduce it on SBTree index? Best regards, Artem Orobets *Orient Technologies the Company behind OrientDB* 2014-06-11 10:09 GMT+03:00 Montrazul : > I found

[orientdb] Suggestion for DB Schema for large scale chat application.

2014-06-11 Thread Prathap Reddy
I have a whatsApp like chat application where users can upload contacts and they will be automatically added to contact list. So when a user upload his contacts it will add them all to his friends list. It works fine using vertex and edge concept. But For example a user who is not registered, bu

[orientdb] how to i maintain data in a property

2014-06-11 Thread jaya raj
hi, i have X property type - emembeddedlist link type - emembeddedmap want to insert data like this format [{"id":"#11:0","time":"1233446777"},{"id":"#12:0","time":"1233446777"},{"id":"#12:5","time":"1233446777"}] and i want retrive data between 2 to 4 position records in X property.. i ha

Re: [orientdb] [JAVA] Getting all elements of an index (all keys)

2014-06-11 Thread Montrazul
I found something out. maybe this is the problem. There is a different file location for the lucene index when you include lucene using maven dependency than using the lucene in plugin mode. Maybe thats the reason why the cursor is null because he cant find the index files? Am Dienstag, 10. Ju