You should read up about regular expressions.

> MATCH(node : Node) where node.Description=~ "(?i).*hel.*wo.*" RETURN 
> node.Description


Michael

> Am 30.04.2015 um 13:22 schrieb [email protected]:
> 
> Hi ,
> 
> I want to have a search in the following way:
> 
> suppose I have a "Description" field in a node having text "hello world!"
> 
> Now when I search using the input : "hello wo" . It works properly but when I 
> search with "hel wo" it doesn't work so how can I do such kind of search.
> 
> currently I am using follwing query : 
> 
> MATCH(node : Node) where node.Description=~ "(?i).*who mo.*" RETURN 
> node.Description
> 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <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.

Reply via email to