Re: [Neo4j] Geospatial and full text search with cypher
Great news. Thanks! Sent from my iPhone > On Feb 27, 2016, at 20:54, Michael Hunger> wrote: > > No this is separate work (or the beginnings of it). The full fledged, newly > implemented spatial support including indexes won't make it into 3.0 but it > will hopefully come not too much later. > > Cheers, Michael > >> On Sun, Feb 28, 2016 at 2:30 AM, Clark Richey wrote: >> Does this mean that the spatial project is being merged into the core in 3? >> >> Sent from my iPhone >> >>> On Feb 27, 2016, at 20:08, Michael Hunger >>> wrote: >>> >>> Hey, >>> >>> if you're new to Neo4j I recommend to check out the latest 3.0.0-M04 >>> milestone which allows you to do both (in moderation). >>> >>> CREATE INDEX ON :Location(name); >>> >>> foreach (x in range(1,1000) | create (:Location >>> {name:"foo"+x,latitude:52.0+1000.0/x,longitude:11.0+1000.0/x})); >>> >>> MATCH (x:Location) >>> WHERE x.name CONTAINS "foo" >>> AND distance(point(x),point({latitude:52.0, longitude:11.0})) < 100 >>> RETURN x; >>> >>> On Tue, Feb 23, 2016 at 1:34 PM, Sebastian Oliveri wrote: Hi all, I am barely new to Neo4j and despite i searched through the web I couldn't find something really concrete. I would like to create a lucene index pn a property node to index both a text property and a geospatial property so I can later query those nodes by place and keyword. Could anyone please describe a short sample code for both creating the index and querying with cypher or point me out a site that describes this scenario. Thanks in advanced, Sebastian. -- 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 neo4j+unsubscr...@googlegroups.com. 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 neo4j+unsubscr...@googlegroups.com. >>> 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 neo4j+unsubscr...@googlegroups.com. >> 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 neo4j+unsubscr...@googlegroups.com. > 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Neo4j] Geospatial and full text search with cypher
No this is separate work (or the beginnings of it). The full fledged, newly implemented spatial support including indexes won't make it into 3.0 but it will hopefully come not too much later. Cheers, Michael On Sun, Feb 28, 2016 at 2:30 AM, Clark Richeywrote: > Does this mean that the spatial project is being merged into the core in 3? > > Sent from my iPhone > > On Feb 27, 2016, at 20:08, Michael Hunger < > michael.hun...@neotechnology.com> wrote: > > Hey, > > if you're new to Neo4j I recommend to check out the latest 3.0.0-M04 > milestone which allows you to do both (in moderation). > > CREATE INDEX ON :Location(name); > > foreach (x in range(1,1000) | create (:Location > {name:"foo"+x,latitude:52.0+1000.0/x,longitude:11.0+1000.0/x})); > MATCH (x:Location) > WHERE x.name CONTAINS "foo" > AND distance(point(x),point({latitude:52.0, longitude:11.0})) < 100 > RETURN x; > > > On Tue, Feb 23, 2016 at 1:34 PM, Sebastian Oliveri > wrote: > >> Hi all, I am barely new to Neo4j and despite i searched through the web I >> couldn't find something really concrete. >> I would like to create a lucene index pn a property node to index both a >> text property and a geospatial property so I can later query those nodes by >> place and keyword. >> Could anyone please describe a short sample code for both creating the >> index and querying with cypher or point me out a site that describes this >> scenario. >> >> Thanks in advanced, >> Sebastian. >> >> -- >> 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 neo4j+unsubscr...@googlegroups.com. >> 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 neo4j+unsubscr...@googlegroups.com. > 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 neo4j+unsubscr...@googlegroups.com. > 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Neo4j] Geospatial and full text search with cypher
Does this mean that the spatial project is being merged into the core in 3? Sent from my iPhone > On Feb 27, 2016, at 20:08, Michael Hunger> wrote: > > Hey, > > if you're new to Neo4j I recommend to check out the latest 3.0.0-M04 > milestone which allows you to do both (in moderation). > > CREATE INDEX ON :Location(name); > > foreach (x in range(1,1000) | create (:Location > {name:"foo"+x,latitude:52.0+1000.0/x,longitude:11.0+1000.0/x})); > > MATCH (x:Location) > WHERE x.name CONTAINS "foo" > AND distance(point(x),point({latitude:52.0, longitude:11.0})) < 100 > RETURN x; > > >> On Tue, Feb 23, 2016 at 1:34 PM, Sebastian Oliveri >> wrote: >> Hi all, I am barely new to Neo4j and despite i searched through the web I >> couldn't find something really concrete. >> I would like to create a lucene index pn a property node to index both a >> text property and a geospatial property so I can later query those nodes by >> place and keyword. >> Could anyone please describe a short sample code for both creating the index >> and querying with cypher or point me out a site that describes this scenario. >> >> Thanks in advanced, >> Sebastian. >> >> -- >> 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 neo4j+unsubscr...@googlegroups.com. >> 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 neo4j+unsubscr...@googlegroups.com. > 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Neo4j] Geospatial and full text search with cypher
Hey, if you're new to Neo4j I recommend to check out the latest 3.0.0-M04 milestone which allows you to do both (in moderation). CREATE INDEX ON :Location(name); foreach (x in range(1,1000) | create (:Location {name:"foo"+x,latitude:52.0+1000.0/x,longitude:11.0+1000.0/x})); MATCH (x:Location) WHERE x.name CONTAINS "foo" AND distance(point(x),point({latitude:52.0, longitude:11.0})) < 100 RETURN x; On Tue, Feb 23, 2016 at 1:34 PM, Sebastian Oliveriwrote: > Hi all, I am barely new to Neo4j and despite i searched through the web I > couldn't find something really concrete. > I would like to create a lucene index pn a property node to index both a > text property and a geospatial property so I can later query those nodes by > place and keyword. > Could anyone please describe a short sample code for both creating the > index and querying with cypher or point me out a site that describes this > scenario. > > Thanks in advanced, > Sebastian. > > -- > 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 neo4j+unsubscr...@googlegroups.com. > 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.