How do I do a search on java type this here, that ta fair in Postgresql, I want to change my bank.�
�public PessoaBean findByUsername(String username) throws Exception {
� � � � PessoaBean pessoa = null;
� � � � EntityManager em = getEntityManager();
� � � � try {
� � � � � � Query queryPessoaByUsername = em.createNamedQuery("PessoaBean.findByUsername");
� � � � � � queryPessoaByUsername.setParameter
Hi,
does anybody know a way to delete a range of nodes in the console like from nodeid 10 to 100?
or delete all nodes by type also from the console? (using spring)
or do i have to do it with code?
Thank you!
How do you do CTE queries in neo4j?
Getting all the buyers and buyers and buyers.... of the seller and its seller.
So outcome should be:
Seller - Search Seller - Buyer - Buyer of Buyer - Buyer of Buyer
SELLER BUYER relationship is structure this way
�(sellerCompanyTopic:Company)-[rel:Seller]->(sr:SalesRelation)(sr:SalesRelation)-[rel2:Buyer]-(buyer:Company),�
sr 0
RETURN rootTopic.ID AS RootCompanyTopicID
I need a solution to build a query in neo4j that returns shortest path(using Floyd�Warshall or another good algo) making math operation at every algoritm iteration. I have made a little explaination:
My graph is stored in a neo4j environment and it can increase in a serious way his dimension. I use rest with everyman php neo4j libraries. What is the best way to do this? Traversal, cypher, gremilins
Hi,
� I have inserted 2 lakh records in neo4j database and firing query and query is taking too much time. observations are as below :-
Graph database details :-�
My graph database nodes are having two properties one is mobile number and another is Total Calls Received. �Mobile Number and Total Calls Received both properties are indexed.
Query 1 :- For finding all nodes having top 20 Total Calls
Finally thanks to Peter and Marko, the .Net Neo4jClient code has been optimised to use short hand version of in('') and out('').
ChangeSet is http://hg.readify.net/neo4jclient/changeset/91ef447a9053
_______________________________________________
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j
Neo4j
Hi,
1. What is the best way to query on nodes by property term with�case insensitive - with java api.
2. Is there a new way instead of lucen?
for example i want all the nodes with the property value - "*USA* in the country property.
I will glad for help.
thanks,
Alon
hi,
I want to write recessive query in cypher, i do'nt know is it possible or not?
my dataset has 2 relationship type.one of them is "disease". I want to start from a node,and go through the disease relationship from it,until reach to a node that doesn't have a disease relationship.
Hi Guys,
In my 1.9 neo4j graph database there� i have property GLOBAL_NUMBER property. and now i also have list of distinct GLOBAL_NUMBER.
I want to retrive the node from graph database those are having these GLOBAL_NUMBER.
I have written the query
START n=node(*)
WHERE n.CURR_DUNS_NUMBER in� GLOBAL_NUMBER
RETURN n
[ Note : GLOBAL_NUMBER contains the list of CURR_DUNS_NUMBER]
this query running
Hi guys,
Suppose i have 1000 number of students and I want select the set of students those are having marks in between (30 to 40) and (60 to 70) and (90 to 100)�
what should I write in where clause for this condition.
Thanks
Vipul
Hi All,
Suppose there are 7 node in� my neo4j graph data based on "PARENT_OF" relationship is like follows
now by using the id of node 1, i want to know whole connected node with parent_of relationship with node 1 and their child node also.
that means if i pass id of node 1 in query it� should give the JSON above structure in response.
can� any help me.
Hi All,
i have a following graph in neo4j graph database and by using the cypher query language, i want to retrieve the whole data whih is conneted to root node and their child node.
For example :
kindly find the below graph image.
[As per the image, node 1 has two child and there child also have too many child with the same relationship. now what i want, using Cypher, i hit the node 1 and it
is query caching present in neo4j??????????reply me plzzzzzzzzzz as
soooon as possible
Hi guys,
I am trying to do regex query on neo4j nodes, by doing something like this:
RegexQuery regex = new RegexQuery(new Term("name", "(town(house|ship))"));
IndexHits nodes = index.query(regex);
This basically searches for all the nodes which are either townhouse or township. But I want to add another regexquery to it, I want to get all the nodes whose names are either township or townhouse
I am working on a project (platform) where I am using neo4j to make connections between users. There are following different ways where user can connect to other users on the platform.
1. When a user logs in with Facebook, I get his mutual friends who are already using our platform. There I make a connection in my graph database by creating a new node (current user) and make connections with all
I am running a neo4j query from a .cql file using the following command:
"./bin/neo4j-shell -file query.cql > result.txt "
However the results insided result.txt are wrapped with '-' and '|' marks that makes it hard to post-process. Is it possible to have the neo4j shell not put these marks?
My Cypher query is performing really slow even with very less volume (hundreds of records)..
start n=node(*),n1=node:node_auto_index(customerId = '23')
MATCH (n)-->(movie) where movie.Language = 'English' and movie.MOVIE_STATUS='A'
with distinct(movie) as mov,n1 where not(n1-->mov)
with distinct(mov) as movDet, count(mov) as movCt return movCt,movDet.Movie,movDet.Language order by movCt desc
All
I have only about 8000 nodes in my database and when I do match n return n I never get any graph back, any reason why or how to fix?
Hi all,
I'm leaning to user neo4j for relation analysis recently. Today I found it took too long for my cypher query took to finish.
I used the batch importer to import all data into neo4j. And I wanted to find the smallest user_id connected (directly or undirectly, path length no limit) to each user_id. Below is the details:
neo4j version: 2.1.2
nodes num: 16M (three labels)
relation num: 10M
I have an embedded neo4j server with ruby on rails.
These are the configurations:
neostore.nodestore.db.mapped_memory=25M
neostore.relationshipstore.db.mapped_memory=240M
neostore.propertystore.db.mapped_memory=230M
neostore.propertystore.db.strings.mapped_memory=1200M
neostore.propertystore.db.arrays.mapped_memory=130M
wrapper.java.initmemory=1024
wrapper.java.maxmemory=2048
There are around�15lakh