> >>
> >> 6) Timeseries. The only way to hande then seems to be the timeline,
> right?
> [...]
> > I have recently added a TimelineIndex (with a LuceneTimeline
> implementation
> > class) which uses an Index as backend instead of the graph and may be
> > faster.
> >
> > See
> >
> https://github.com/neo4j/graphdb/blob/master/lucene-index/src/test/java/org/neo4j/index/timeline/TestTimeline.javafor
> > an example of the source and
> >
> http://components.neo4j.org/neo4j/1.3.M05/apidocs/org/neo4j/index/lucene/TimelineIndex.htmlfor
> > javadoc of the interface.
>
> I am not sure if I do not see it or if it is not there.
> I see how a timeline index is build. But then, how do I get that
> timeline from a just opened database instance?
> It would be really great to have s simple example like the matrix ones
> on the wiki, in which a timeline is created, the database is closed,
> then reopened and the timeline is queried.
>
> If I am just blinded by too much info at one time, feel free to smash
> me with a link/hint.
>

Such a timeline is just a thin wrapper around a normal Index, so just do:

   TimelineIndex timeline = new LuceneTimeline( graphDb,
graphDb.index().forNodes( "myTimeline" ) );

irregardless of you've used/populated it before. No difference.


>
> Thanks,
> Andrea
>
>
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to