Hi Mattias Persson,
Thanks for your replay.
But setting property cannot give your node uniqueness.
I want to use my own Id for unique node represenattaion otherwise i have to
remember the ids of nodes when i want the information back.

Thanks,
Bujji


On Wed, Mar 31, 2010 at 4:52 PM, Mattias Persson
<matt...@neotechnology.com>wrote:

> So, the LuceneIndexService is in the neo4j-index component (as I referred
> to in the previous mail), http://components.neo4j.org/neo4j-index/ . It is
> a separate component which depends on the Neo4j kernel component.
>
> Source code links are available at the above page, for short it's
> https://svn.neo4j.org/components/index/trunk/ . Also neo4j-index in turn
> have its own dependencies, f.ex. lucene and the neo4j-commons component, so
> it's recommended to use a dependency manager, f.ex. maven to gather all the
> dependencies, see http://wiki.neo4j.org/content/Getting_Started_Guide for
> more information about that.
>
>
> 2010/3/31 Bujji <sivait...@gmail.com>
>
>> hi Mattias Persson,
>>
>> Thanks for your quick response.
>> what I  see from realese 1.0 is there is no lucene(indexer) component in
>> it
>> please tell me where and how   i get the source from repository.
>>
>> Thanks and Regards,
>> Bujji
>>
>> Message: 7
>> Date: Wed, 31 Mar 2010 09:58:40 +0200
>> From: Mattias Persson <matt...@neotechnology.com>
>> Subject: Re: [Neo] creating nodes with our own id
>> To: Neo user discussions <user@lists.neo4j.org>
>> Message-ID:
>>        <k2kacdd47331003310058idbbbf320h956430a2e0289...@mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>>
>> The node ids shouldn't be used for such lookups. Either you traverse to
>> them
>> via relationships and other nodes, or you can use the neo4j-index
>> component,
>> http://components.neo4j.org/neo4j-index/ where you can index nodes and do
>> lookups, f.ex:
>>
>> GraphDatabaseService graphDb = new EmbeddedGraphDatabase( "my/path" );
>> IndexService index = new LuceneIndexService( graphDb );
>>
>> .... // withing transaction
>> Node myNode = graphDb.createNode();
>> node.setProperty( "uid", "abc123" );
>> index.index( node, "uid", node.getProperty( "uid" ) );
>> ....
>> Node myNodeFoundViaIndex = index.getSingleNode( "uid", "abc123" );
>>
>> NOTE: Indexing operations automatically participates in neo4j transactions
>>
>> 2010/3/31 Bujji <sivait...@gmail.com>
>>
>> > hi all,
>> > i am not clear on how to use the nodes once we create them with
>> identifiers
>> > generated by the program.
>> > how do i remember them
>> > i want to have my own id for each node when i am creating a node
>> > is that possible
>> > what are the changes i have to made to work like that
>> > otherwise give me any working example that uses neo4j as it is and how
>> it
>> > is
>> > using its id's as well
>> >
>> > plz help me
>> >
>> >
>> > Thanks
>> > bujji
>> > _______________________________________________
>> > Neo mailing list
>> > User@lists.neo4j.org
>> > https://lists.neo4j.org/mailman/listinfo/user
>> >
>>
>>
>>
>> --
>> Mattias Persson, [matt...@neotechnology.com]
>> Hacker, Neo Technology
>> www.neotechnology.com
>>
>
>
>
> --
> Mattias Persson, [matt...@neotechnology.com]
> Hacker, Neo Technology
> www.neotechnology.com
>
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to