Thank you. Did the following: *>sudo vim conf/neo4j-server.properties* *Added below two lines at the bottom(these lines were not there already)* *node_auto_indexing=true* *node_keys_indexable=name*
*Restarted neo4j.* *And ran below cypher:* *>MATCH (n) WHERE has(n.name) SET n.name=n.name;* *+-------------------+* *| No data returned. |* *+-------------------+* *Properties set: 94701* *19652 ms* It used to take around 4sec, I think same search query now takes around 2 seconds I am using neo4j-community-2.0.1 on AWS EC2 medium instance. I think it still takes long time return search result. Is neo4j suitable for these kind of searches? Thanks On Saturday, April 26, 2014 3:59:02 PM UTC+5:30, Michael Hunger wrote: > > See my blog post > > http://jexp.de/blog/2014/03/full-text-indexing-fts-in-neo4j-2-0/ > > Sent from mobile device > > Am 26.04.2014 um 11:27 schrieb Krishna Shetty > <[email protected]<javascript:> > >: > > I am working search feature. I need to return all nodes with matching > string in 'name' property. > > I am using the query as suggested > here<http://stackoverflow.com/questions/13828953/like-clause-in-cypher-query> > : > *match <mypattern> where n.name <http://n.name> =~ '.*SUBSTRING.*' return > n.Name;* > > I have also added index on name property. > *CREATE INDEX ON :MyLabel1(name);* > > But the query is not *fast.* > > I have read about full text case insensitive indexing, please suggest how > to do this through cypher query. > Or is there any other way to improve search speed. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "Neo4j" 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.
