[orientdb] Re: [announcement] Moving to StackOverflow!

2016-01-02 Thread Aris Alexis
Last time I posted two questions about Orient on SO I got 11 downvotes and needed to explain in Meta why the question was valid and the answer I got was helpful and resolved the problem. both threads can be found here: http://stackoverflow.com/questions/33127129/how-can-i-get-the-edges-that-con

[orientdb] Missing from documentation insert into index

2016-01-02 Thread Aris Alexis
Hi, I can't find in the documentation how I use sql insert into index:IndexName (key,values) ('jay',"{'address':'holywood'}") this results in null pointer exception or someting similar. I want this unique index to hold a string key and a JSON object value. It is documented how to do it wit

[orientdb] Re: Lucene query on an expanded result set

2015-11-17 Thread Aris Alexis
Yes it is shown select expand(indexes) from metadata:indexmanager and the second query in the original post works. Should I post a bug on github? On Monday, November 16, 2015 at 5:35:56 PM UTC+1, alessand...@gmail.com wrote: > > Do you put a lucene index on the property "body"? > > Kind rega

[orientdb] Lucene query on an expanded result set

2015-11-16 Thread Aris Alexis
I have User and Post classes and Posts edge class this works *SELECT FROM (SELECT EXPAND(OUT('Posts')) FROM User WHERE username='marco') WHERE body LIKE '%China%'* this works *SELECT FROM Post WHERE body LUCENE 'China'* this *doesn't* work *SELECT FROM (SELECT EXPAND(OUT('Posts')) FROM User

[orientdb] opening and closing connection with orientjs

2015-09-17 Thread Aris Alexis
I have a rest api, should I always use it like below or I don't need to open and close the connections on every hit? maybe the database only? orientdb.connect(); await orient.query('insert into User content '+JSON.stringify(validUser)); orient.disconnect(); export function connect() { server

[orientdb] how to use a manual composite lucene index

2015-07-05 Thread Aris Alexis
Hi, I want to create a manual index with lucene full text (so i can have a separate index for each supported language). CREATE INDEX Activities_en FULLTEXT ENGINE LUCENE String,String,String METADATA {"analyzer":"org.apache.lucene.analysis.en.EnglishAnalyzer"} INSERT INTO index:Activities_en

[orientdb] in-memory database current thread in embedded server mode

2015-06-30 Thread Aris Alexis
Hi, I am running the latest 2.1-rc4 embedded server with the following config public static OServer oServer; public static void createServer() { try { oServer = OServerMain.create(); oServer.startup(OrientDBUtil.class.getClassLoader().getResourceAsStream("orientdb-server-config.xml")); oServer

Re: [orientdb] problem with rejected connections on http interface

2015-05-14 Thread Aris Alexis
, > > Luca Garulli > CEO at Orient Technologies LTD > the Company behind OrientDB > http://about.me/luca.garulli > > > On 13 May 2015 at 15:59, Aris Alexis > > wrote: > >> Hi, >> >> because each thread runs this code only once and the client objec

Re: [orientdb] problem with rejected connections on http interface

2015-05-13 Thread Aris Alexis
d be able to reuse the same with > a Keep-Alive setting? > > > > > > Best Regards, > > Luca Garulli > CEO at Orient Technologies LTD > the Company behind OrientDB > http://about.me/luca.garulli > > > On 13 May 2015 at 14:57, Aris Alexis > > wrot

[orientdb] problem with rejected connections on http interface

2015-05-13 Thread Aris Alexis
Hi, I am running 2.0.1 and I am using the http index interface as a key/value store. I access it with jersey client and have also in the headers added "Connection","close". The configuration is set at max pool connections at 1500. When running my tests without even reaching 20-30 requests I get

[orientdb] specifying a lucene composite index

2015-05-06 Thread Aris Alexis
Hi, I have the following scenario: I want a user's profile description,title (two fields) to be indexed with lucene but for each user with a different analyzer according to his language preferences. How can I accomplish that? If I create and index on title,description I need to specify the a

[orientdb] Re: document modeling for messaging system

2015-04-15 Thread Aris Alexis
OK I can answer q.2 because I did not realise that nested documents are LINKS and not actually the same file.correct? the q.3 I can do a select from the document to fetch the first 20 LINKs with an expand select correct? q.1? On Wednesday, April 15, 2015 at 12:29:03 AM UTC+2, Aris

[orientdb] document modeling for messaging system

2015-04-14 Thread Aris Alexis
Hi, I am reforming a previous question I had. If I have a chat between users as a document: can I have these: 1)index on a List (without lucene just checking if a user is participating in a chat) 2)nested messages (many probably in the thousands) as nested documents. Are these going to cause

Re: [orientdb] chat system with orientdb

2015-04-13 Thread Aris Alexis
called Inverse > iterator. it's super fast and speed is not affected by database size. What > about loading records of the previous page? > > select from Chat_clent11 where @rid < #13:2342 *order by @rid desc limit > 20* > > Supposing your last @rid was #13:2342 (rea

[orientdb] TTL for edges

2015-04-12 Thread Aris Alexis
hi, can I somehow expire edges? I have twitter style user feeds but they are not relevant after X weeks. I think I can write a batch job but how about automatic? thanks -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from th

[orientdb] chat system with orientdb

2015-03-26 Thread Aris Alexis
hi, i am building a social network with many features and my main db is orient. would you also use orient for the chat system ? I know people are biased here haha :) but my questions is if the site grows a lot, wouldn't cassandra be a more logical solution since messages are not data that is v

[orientdb] Re: vertex as document usage

2015-03-24 Thread Aris Alexis
ent("City").field("name","Rome").field("country", "Italy") ); then I set v.setProperty("properties",doc); and g.commit. note that g is a graph connection and I am not using the Document db connection. is this a correct flow? On Mon

Re: [orientdb] Re: vertex as document usage

2015-03-23 Thread Aris Alexis
luck! > > -Colin > > Orient Technologies > > The Company behind OrientDB > > On Monday, March 23, 2015 at 7:37:06 AM UTC-5, Aris Alexis wrote: >> >> hi, >> >> sorry for the noob question but i am using the graph database but some >> vertices i wou

[orientdb] vertex as document usage

2015-03-23 Thread Aris Alexis
hi, sorry for the noob question but i am using the graph database but some vertices i would like them to be documents. for example the user vertex has a lot of sub documents for the location, phones etc. can I do in my code ODocument od=vertex? and then how to save it? can I use the variables

[orientdb] Re: EMBEDDED types documentation

2015-03-09 Thread Aris Alexis
by the way, because we want to be compatible with blueprints, when we do this we just have an embeddedset of String that is the JSON representation of the object and deserialize it with Jettison for example afterwards. On Monday, March 9, 2015 at 3:47:33 PM UTC+1, Colin wrote: > > Hi, > > You de

[orientdb] property caching vs edges speed theorhetical question

2015-03-09 Thread Aris Alexis
I am wondering if for example an article has many authors and you have edges to the vertex. when I am building my POJO, I have two strategies: one is to get all edges and make them into a list so I can pass it to the frontend OR to have an embeddedlist as a kind of caching and update it when th

Re: [orientdb] getting inconsistent behaviour

2015-03-03 Thread Aris Alexis
ruary 17, 2015 at 9:39:27 AM UTC+1, Andrey Lomakin wrote: > > HI, > You always commit tx even in case of rollback (you put commit in finally > block), but still it is strange. > Could you provide test case which we may run and reproduce this issue ? > > On Mon, Feb 16, 201

[orientdb] Re: Inconsitent result in Java api

2015-03-03 Thread Aris Alexis
ith an eventual type of consistency > (as I can mask it using client side JavaScript), but only if it takes <1 > second to update. > > The Gremlin shell never updates. > > On Friday, February 20, 2015 at 12:03:18 PM UTC+1, Aris Alexis wrote: >> >> https://groups.goog

[orientdb] Re: lucene full text composite index

2015-03-03 Thread Aris Alexis
found the solution to this. it was tricky: the order of the select [firstName,lastName,email,username] needs to be exactly as the order that created the index and in my code the fields were reversed. On Saturday, February 21, 2015 at 11:51:54 AM UTC+1, Aris Alexis wrote: > > nope. to m

[orientdb] Re: lucene full text composite index

2015-02-21 Thread Aris Alexis
lect * from User where [firstName,lastName,email,username] LUCENE "ari*" > > so that the index gets triggered. > > sexta-feira, 20 de Fevereiro de 2015 às 11:02:41 UTC, Aris Alexis escreveu: >> >> hi, >> >> I have an index created with >> >> CR

[orientdb] Re: Inconsitent result in Java api

2015-02-20 Thread Aris Alexis
https://groups.google.com/forum/#!topic/orient-database/ERs4eaSGAjI I have been debugging the same problem and it drives me crazy! On Friday, February 20, 2015 at 11:20:09 AM UTC+1, Bjorn Cintra wrote: > > Hi > > My use case scenario is a web app, where the OrientGraphFactory is > instanced as a

[orientdb] lucene full text composite index

2015-02-20 Thread Aris Alexis
hi, I have an index created with CREATE INDEX User.combined_name ON User(firstName,lastName,email,username) FULLTEXT ENGINE LUCENE when I make a select * from User where username LUCENE "ari*" I get nothing. I can see the index in the list of indices. when I insert values this is supposed to

Re: [orientdb] is lucene full text index possible on a List

2015-02-17 Thread Aris Alexis
great, will be waiting for this :) On Tuesday, February 17, 2015 at 4:55:05 PM UTC+1, Enrico Risa wrote: > > Hi Aris > > https://github.com/orientechnologies/orientdb-lucene/issues/33 > > is not yet supported > > 2015-02-17 16:53 GMT+01:00 Aris Alexis > > : &g

[orientdb] is lucene full text index possible on a List

2015-02-17 Thread Aris Alexis
title says it all. graph database: create index City.name_description on City (name,description) FULLTEXT ENGINE LUCENE is this valid if description is an embeddedlist of strings in the vertex? thanks -- --- You received this message because you are subscribed to the Google Groups "Orien

[orientdb] web applications and r-id format

2015-02-16 Thread Aris Alexis
Not a question per se just wanted to say that the #12:45 format is not very flexible for web applications. I was using titan+elastic and the id was a number or something that looked like a UUID. Using orient id's with backbone is possible but cumbersome as # and : denote routes in the web app

[orientdb] getting inconsistent behaviour

2015-02-16 Thread Aris Alexis
Hi, I just started porting my app in orient and some things that were working need some debugging, I am a bit lost in this one. So I have a singleton : public class OrientDatabase implements IGraphDatabase { private static OrientGraphFactory factory; private static OrientDatabase instan

[orientdb] Re: javax.validation.ValidationException in Play after OrientDB upgrade

2015-02-13 Thread Aris Alexis
ля 2015 г., 20:21:35 UTC+6 пользователь Aris Alexis > написал: >> >> any update on this? i am using the hibernate validator for other reasons >> in my program. i use maven >> >> INFO: Can't parse 'META-INF/persistence.xml' :Something goes wrong while >>

[orientdb] Re: javax.validation.ValidationException in Play after OrientDB upgrade

2015-02-13 Thread Aris Alexis
any update on this? i am using the hibernate validator for other reasons in my program. i use maven INFO: Can't parse 'META-INF/persistence.xml' :Something goes wrong while parsing persistence.xml i get this message since i started using orient. i tried to exclude orientdb-object but i still g

Re: [orientdb] pojos with the graph db

2015-02-09 Thread Aris Alexis
tices. On Monday, February 9, 2015 at 4:44:58 PM UTC+1, Lvc@ wrote: > > Hi Aris, > Did you use Frames with Titan to map graphs to POJOs? > > Lvc@ > ᐧ > > On 9 February 2015 at 16:15, Aris Alexis > wrote: > >> Hi, >> >> I am just starting to use o

[orientdb] pojos with the graph db

2015-02-09 Thread Aris Alexis
Hi, I am just starting to use orient so be easy on me. I am a bit confused about how to use the graph database. What I want: I have a POJO with references to other POJOS like: User String name List notifications Notification String date String type I want this user connected to the graph

[orientdb] does orientdb support geolocation queries?

2014-03-29 Thread Aris Alexis
I couldnt find enough information about range queries like having a property lon,lat and ask who is in radius of 5km? thanks -- --- 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, se

[orientdb] getting started with java

2014-03-26 Thread Aris Alexis
hi, I am a little confused. I will use orient with java and i have a complex schema and i would like some guidance. i have a user entity and an action entity. these two are obviously related. the action entity happens in a city and has some tags associated with it. vertex user and vertex entit

[orientdb] rest api schenario

2014-03-20 Thread Aris Alexis
Hi, I am interesting in developing an application which lacks server side code. I want to use the rest api and angular. Can I somehow authenticate in the database like I can in couchdb? Also I would be interesting in restricting roles such as a user cannot delete another user's profile. --