Craig, Please keep me (or just the list) updated on this.
Thanks, Alex On Tue, Mar 23, 2010 at 5:43 AM, Craig Taverner <cr...@amanzi.com> wrote: > Last year we wrote a multi-dimensional index for floats, similar in > principle to the timeline index, but working on multiple floats (and > doubles). We used it to index locations. Now we are hoping to include the > same concepts in the new Neo4j > Spatial<http://wiki.neo4j.org/content/Neo4j_Spatial>project. Even > though this is targeting map data, it seems viable for any > float/double property index. We hope to have some usable code for this > within the next few weeks. > > On Mon, Mar 22, 2010 at 10:13 PM, Rick Bullotta < > rick.bullo...@burningskysoftware.com> wrote: > > > Alex, due to floating point precision issues, you might be best off > > determining some type of integral rounded or scaled key as you suggest. > If > > you end up using the Lucene indexing engine, you'd probably want to do > > something like this anyway, since indexing is string-based under the > hood. > > > > That said, I wonder if any of the graph algos available for Neo could be > > used to determine centrality during traversal rather than storing it > > statically? > > > > -----Original Message----- > > From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] > > On > > Behalf Of Alex D'Amour > > Sent: Monday, March 22, 2010 5:06 PM > > To: Neo user discussions > > Subject: [Neo] Indexing on Doubles in Neo4j > > > > Hello all, > > > > I'm working on an application where it would be nice to perform lookups > on > > a > > graph database based on real-valued properties. > > > > For example, if I have a social network, and have assigned real-valued > > centrality measures to each node, I'd like to be able to choose all > > vertices > > whose centrality measure is greater than some threshold. > > > > I see that the Timeline index service offers this for integer-valued > > properties. Is there something similar (or in the pipeline) for doing the > > same with real-valued properties? Is there an easy way to adapt one of > the > > current indexing utilities to do this (besides multiplying by 10^n for > > sufficiently large n and then rounding)? > > > > Thanks, > > Alex D'Amour > > Harvard Institute for Quantitative Social Science > > _______________________________________________ > > Neo mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > > _______________________________________________ > > Neo mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > _______________________________________________ > Neo mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user