On Tue, May 25, 2010 at 6:00 AM, Peter Neubauer <
peter.neuba...@neotechnology.com> wrote:

> Thomas,
> if your dataset is that small, you could just start at any point, e.g.
> iterating over all cars, and looking at every car node if it is
> connected to the right nodes (only shown with the year node). I
> updated the GIST at http://gist.github.com/411699 to reflect this.
> This is a very crude example, but given your amount of data, you could
> either start at the cars, or from e.g. a color or year node, that you
> could find using Lucene(not included in this example, I am connecting
> nodes to the reference node instead).
>

Does that help?
>
>
Sure does.

I know I have little objects to traverse, but I was more currious on how to
handle on a larger set of object. What has made me consider Neo is the
seamless way to enrich my data-set with new relations as I progress. My idea
is to add relations to represent aspects of the objects that can be searched
for. For example: one day I create a crawler that will update notes do map
the model number to some feature (say the number of doors the car has). Then
I can extend my UI to allow users to search for that criteria too (in an
ad-hoc manner).

In such a case adding lucene indexes may not be that easy. If the graph has
huge, maybe it would make since to start traversal from the nodes that will
yield the smallest starting graph.

Thomas
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to