Re: [Neo4j] compound query across keys

2011-08-24 Thread sambodhi
Thanks for the prompt Peter! I got bit jumbled up there. Are you saying that SDG's core api does not allow to index same node with different KEYS? Or it does not allow same node to be in different INDICES? In my case my entity looks like this: @NodeEntity public class Product { @Indexed(in

[Neo4j] pagination with traversal and search query results

2011-08-24 Thread sambodhi sagi
Hi!! Does Spring/Neo4j provides api to get paginated results from traversal and search queries? Many Thanks, Sambodhi ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo4j] compound query across keys

2011-08-24 Thread sambodhi sagi
Index namedProductIndex = graphDatabaseContext.getIndex(Product.class, "product-search"); Iterable nodes = namedProductIndex.query(new QueryContext(query).sort(new Sort(sortField))); Is there no method in graph repository to handle multiple keys? Thanks, Sambodhi __

[Neo4j] FullText and Exact Indices in graphs

2011-08-23 Thread sambodhi sagi
dd full-text and non-full-ltext fields to the same index? Many Thanks, Sambodhi ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] NodeBacked to Node

2011-08-23 Thread sambodhi
Thanks Michael, that was pretty helpful. I was already using @GraphTraversal but findAllByTraversal() and createEntityFromState() methods are what I was actually looking for. Thanks! -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-NodeBacked-to-No

[Neo4j] NodeBacked to Node

2011-08-22 Thread sambodhi sagi
traversal .traverse(product.getPersistentState()); final Iterator it = traverser.nodes().iterator(); return it; } In simple words I want getProducts() method to return Iterator instead of Iterator. How do I convert Node to NodeBacked 'Product'? M

Re: [Neo4j] how to scale and view or generate reports for complex graphs?

2011-08-02 Thread sambodhi
Hi Niels Thanks for your reply! Adding meta info should certainly help but what I exactly mean from complexity her is huge size of the graph with thousands of nodes. For example, in RDBMS if there is some problem with a some user information, I can fire a select query or I can use tools like sql

[Neo4j] how to scale and view or generate reports for complex graphs?

2011-07-27 Thread sambodhi sagi
node. b. is there any kind of report generation tool ? c. how to scale the graph? i read few article on it but it got me more confused. Would be really helpful if you can provide a link to a relevant document. Many Thanks! Sambodhi ___ Neo4j mailing

Re: [Neo4j] Graph database index | query across indices

2011-07-27 Thread sambodhi
please click https://docs.google.com/leaf?id=0B_KtEQOQZhiJOTU4NDNkYjUtMTRhZS00MDgwLWI3NjEtYmZjNTM5NGNhNjVj&hl=en_US here to see my https://docs.google.com/leaf?id=0B_KtEQOQZhiJOTU4NDNkYjUtMTRhZS00MDgwLWI3NjEtYmZjNTM5NGNhNjVj&hl=en_US graph -- View this message in context: http://neo4j-commun

[Neo4j] Graph database index | query across indices

2011-07-27 Thread sambodhi sagi
Hi ! I am facing some problem with indexing. My graph looks like this: Say, I want to query products for a particular category (say 'Phone,Mobiles and telecoms') AND having text 'attractive' in 'details' field. I created two indices: one for Relationship 'RelProductIndex' and one for product '