Hi Ahmed,
the Batchinserter system is working with Longs instead of nodes -
otherwise you should be able to do much the same as in the normal API,
see 
http://components.neo4j.org/neo4j/1.4.1/apidocs/org/neo4j/graphdb/index/BatchInserterIndex.html
for getting a nodeId from the BatchInserterIndex, and
https://github.com/neo4j/community/blob/master/kernel/src/main/java/org/neo4j/kernel/impl/batchinsert/BatchInserter.java
and via

 public Map<String,Object> getNodeProperties( long nodeId ); you can
get the Properties for a node. Would that work?

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 Sun, Aug 7, 2011 at 11:22 AM, ahmed.elsharkasy
<[email protected]> wrote:
> I have a problem , i am using BatchInserterIndex and during my work sometimes
> i need to use the method getNodeById in graph database service and as i cant
> open two instances on the same datastore i had to shutdown the index first
> and open an instance of graph database service and then shutdown it and
> return back to my index which is truly bad .
> is their a way to use graph database service while using my batch index , or
> is their an equivalent for getNodeById with out using graph database
> service?
>
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Problem-with-datastore-tp3232799p3232799.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to