In the current IndexService API you can't really query for IDs. But in a new index framework that I've been working on you can... you can also do composite queries (allowing you to ask lucene queries directly) and all such goodies. Lucene is just an implementation whereas the API is generic.
Take a look at https://svn.neo4j.org/laboratory/components/lucene-index/ for this new (and great) API which hopefully will replace IndexService pretty soon. Anyways, you could ptentially ask a query like: Index<Node> someIndex = myIndexProviderMaybeAGraphDbService.nodeIndex( "persons" ); for ( Node node : someIndex.query( "name:Mar?o AND skill:*aphs AND _id_:*666* ) ) { } 2010/7/15 Marko Rodriguez <okramma...@gmail.com> > Hello, > > Question: Is the node/relationship ID space indexed by Lucene --- and, if > so, in a manner analogous to properties? > > Thank you, > Marko. > > http://markorodriguez.com > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user