Peter, I believe it was something like
curl -X POST -H Accept:application/json -HContent-Type:application/json -d \ '{"name":"time", "config":{"type":"timeline","provider":"lucene"}}' \ http://localhost:7474/db/data/index/node curl -HContent-Type:application/json -X POST -d \ '"http://localhost:7474/db/data/node/0"' \ http://localhost:7474/db/data/index/node/time/timestamp/25 which gives a 500. -- Matt Luongo Co-Founder, Scholr.ly On Wed, Jun 15, 2011 at 8:55 AM, Rick Bullotta <rick.bullo...@thingworx.com> wrote: > > You really don't need a timeline index to do a timeline index, if that makes > sense. As mattias points out, it is just a convenient wrapper around a plain > lucene (neo) index. Just index the timestamp as a numeric field. > > > > ----- Reply message ----- > From: "Matt Luongo" <m...@scholr.ly> > Date: Wed, Jun 15, 2011 8:48 am > Subject: [Neo4j] REST API & LuceneTimeline > To: "Neo4j user discussions" <user@lists.neo4j.org> > > Peter, > > I've done a bit more research, and you're right- it isn't. However, the REST > api let's me create an index of type 'timeline'. The first time I try to > index a node, there's a 500 error (nullpointer) that stems from the index > not being created. I'd be happy to file a bug report. > > Anyway, we're trying to put together a plugin to expose timeline indexing > via REST. > > - Matt > On Jun 15, 2011 5:49 AM, "Peter Neubauer" <peter.neuba...@neotechnology.com> > wrote: > > Matt, > > what URL are you using to create the timeline? I don't recall that > > being exposed via REST ... > > > > 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://startupbootcamp.org/ - Öresund - Innovation happens HERE. > > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > > > > > On Mon, May 30, 2011 at 11:16 PM, Matt Luongo <m...@scholr.ly> wrote: > >> Forgive me if this is a foolish question. I'm really excited about using > the > >> LuceneTimeline in our product. I see that I can create it via > >> "type":"timeline" in the REST interface. I'm not sure, though, how to add > >> nodes to the timeline- it seems like you add things to a timeline by > >> specifying just a timestamp, not key/value, but I can only find REST > >> examples for indexing nodes by key/value. Anyone care to share a code > >> snippet? > >> > >> -- > >> Matt Luongo > >> Co-Founder, Scholr.ly > >> _______________________________________________ > >> 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