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

2010-12-22 Thread Peter Neubauer
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  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.neuba...@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  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.neuba...@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
>> >>  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 > >
>> >> wrote:
>> >> >> On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
>> >> >>  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@lists.neo4j.org
>> >> >> https://lists.neo4j.org/mailman/listinfo/user
>> >> >>
>> >> >
>> >> ___
>> >> Neo4j mailing list
>> >> User@lists.neo4j.org
>> >> https://lists.neo4j.org/mailman/

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

2010-12-20 Thread J T
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.neuba...@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  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.neuba...@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
> >>  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  >
> >> wrote:
> >> >> On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
> >> >>  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@lists.neo4j.org
> >> >> https://lists.neo4j.org/mailman/listinfo/user
> >> >>
> >> >
> >> ___
> >> Neo4j mailing list
> >> User@lists.neo4j.org
> >> https://lists.neo4j.org/mailman/listinfo/user
> >>
> > ___
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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

2010-12-20 Thread Peter Neubauer
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  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.neuba...@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
>>  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 
>> wrote:
>> >> On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
>> >>  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@lists.neo4j.org
>> >> https://lists.neo4j.org/mailman/listinfo/user
>> >>
>> >
>> ___
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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

2010-12-20 Thread J T
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.neuba...@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
>  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 
> wrote:
> >> On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
> >>  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@lists.neo4j.org
> >> https://lists.neo4j.org/mailman/listinfo/user
> >>
> >
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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

2010-12-20 Thread Peter Neubauer
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
 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  wrote:
>> On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
>>  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@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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

2010-12-20 Thread Peter Neubauer
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  wrote:
> On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
>  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@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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

2010-12-20 Thread Javier de la Rosa
On Mon, Dec 20, 2010 at 12:18, Peter Neubauer
 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@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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

2010-12-20 Thread Peter Neubauer
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).

Is there anyone heavily relying on the current REST Index API in
production and needs it? If so, we will need to add support for it
after the release as a server plugin. Since all this is happening
still in Milestones, I think we are good just removing the existing
one if nobody speaks up.

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.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user