[Neo4j] New Index API replacing the old one in REST

Peter Neubauer peter.neubauer at neotechnology.com
Wed Dec 22 19:50:53 CET 2010


Hi there,
do things work better with the 1.2.M06 milstone?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Dec 21, 2010 at 3:03 AM, J T <jt4websites at googlemail.com> wrote:
> Unfortunately I get an undefined class error when trying to add a node using
> curl.
>
> I'll investigate a bit further tomorrow and replu properly then.
>
>
> On Mon, Dec 20, 2010 at 10:30 PM, Peter Neubauer <
> peter.neubauer at neotechnology.com> wrote:
>
>> Well,
>> just tried the download. That one doesn't even start since there are
>> dependencies missing. Need to check why that is happening tomorrow.
>> But
>> http://buildbox.neo4j.org/hudson/job/neo4j-standalone/ws/trunk/target/neo4j-1.2-SNAPSHOT-unix.tar.gz
>> should work, just tried it.
>>
>> From the beginning, there are not indexes, so oyu can create one (on nodes)
>> with
>>
>> curl -HContent-Type:application/json -X POST -d
>> '"http://localhost:7474/db/data/node/123"'
>> http://localhost:7474/db/data/index/node/my_nodes/foo/bar
>>
>> then, surfing to http://localhost:7474/db/data/index/node should show
>> you the HTML rendering (in Firefox) or the JSON representation of that
>> index. Same for relatoinships.
>>
>> Does that work?
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> GTalk:      neubauer.peter
>> Skype       peter.neubauer
>> Phone       +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter      http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org               - Your high performance graph database.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>
>>
>>
>> On Mon, Dec 20, 2010 at 9:57 PM, J T <jt4websites at googlemail.com> wrote:
>> > Peter,
>> >
>> > You say the version of the server (with relationship indexes) be
>> available
>> > in M06.
>> >
>> > Is it already available in the snapshot download ?
>> >
>> > e.g. thsi one: http://neo4j.org/get?file=neo4j-1.2-SNAPSHOT-unix.tar.gz??
>> >
>> > I tried earlier but that didnt seem to have any rest index support.
>> >
>> > JT
>> >
>> >
>> >
>> > On Mon, Dec 20, 2010 at 4:48 PM, Peter Neubauer <
>> > peter.neubauer at neotechnology.com> wrote:
>> >
>> >> Javier,
>> >> look at
>> >>
>> http://components.neo4j.org/neo4j-server/0.1-SNAPSHOT/rest.html#Listing_node_indexes
>> >> for the version that will come out now. Pretty similar to the old way
>> >> except that it supports even relationship indexes.
>> >>
>> >> Let us know if you have any questions!
>> >>
>> >> Cheers,
>> >>
>> >> /peter neubauer
>> >>
>> >> GTalk:      neubauer.peter
>> >> Skype       peter.neubauer
>> >> Phone       +46 704 106975
>> >> LinkedIn   http://www.linkedin.com/in/neubauer
>> >> Twitter      http://twitter.com/peterneubauer
>> >>
>> >> http://www.neo4j.org               - Your high performance graph
>> database.
>> >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>> >>
>> >>
>> >>
>> >> On Mon, Dec 20, 2010 at 1:03 PM, Peter Neubauer
>> >> <peter.neubauer at neotechnology.com> wrote:
>> >> > Javier,
>> >> > we are trying to be compatible with the existing API, but will move it
>> >> > to a location that is future prove (that is, for the more powerful
>> >> > indexing features there will be new URLs added). Will decide on the
>> >> > location after lunch :)
>> >> >
>> >> > Cheers,
>> >> >
>> >> > /peter neubauer
>> >> >
>> >> > GTalk:      neubauer.peter
>> >> > Skype       peter.neubauer
>> >> > Phone       +46 704 106975
>> >> > LinkedIn   http://www.linkedin.com/in/neubauer
>> >> > Twitter      http://twitter.com/peterneubauer
>> >> >
>> >> > http://www.neo4j.org               - Your high performance graph
>> >> database.
>> >> > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing
>> party.
>> >> >
>> >> >
>> >> >
>> >> > On Mon, Dec 20, 2010 at 12:21 PM, Javier de la Rosa <versae at gmail.com
>> >
>> >> wrote:
>> >> >> On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
>> >> >> <peter.neubauer at neotechnology.com> wrote:
>> >> >>> Graphytes,
>> >> >>> the exposure of the new Index on relationships and nodes in the
>> Neo4j
>> >> >>> REST API will be part of M06, so anyone using the Index in their
>> >> >>> bindings will need to switch to that API. I am thinking of the PHP,
>> >> >>> .NET, Ruby and Perl bindings (Max, @onewheelgood, Javier and all
>> >> >>> others).
>> >> >>
>> >> >> Great news!
>> >> >> Where is the documentation to apply the new changes on the index
>> >> behaviour?
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Javier de la Rosa
>> >> >> http://versae.es
>> >> >> _______________________________________________
>> >> >> Neo4j mailing list
>> >> >> User at lists.neo4j.org
>> >> >> https://lists.neo4j.org/mailman/listinfo/user
>> >> >>
>> >> >
>> >> _______________________________________________
>> >> Neo4j mailing list
>> >> User at lists.neo4j.org
>> >> https://lists.neo4j.org/mailman/listinfo/user
>> >>
>> > _______________________________________________
>> > Neo4j mailing list
>> > User at lists.neo4j.org
>> > https://lists.neo4j.org/mailman/listinfo/user
>> >
>> _______________________________________________
>> Neo4j mailing list
>> User at lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>


More information about the User mailing list