Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Getting existing Indexs By Java

Received: by 10.204.152.217 with SMTP id h25mr580843bkw.3.1336105205362;
        Thu, 03 May 2012 21:20:05 -0700 (PDT)
X-BeenThere: neo4j@googlegroups.com
Received: by 10.204.8.149 with SMTP id h21ls781996bkh.3.gmail; Thu, 03 May
 2012 21:20:02 -0700 (PDT)
Received: by 10.204.157.134 with SMTP id b6mr580929bkx.5.1336105201923;
        Thu, 03 May 2012 21:20:01 -0700 (PDT)
Received: by 10.204.157.134 with SMTP id b6mr580928bkx.5.1336105201883;
        Thu, 03 May 2012 21:20:01 -0700 (PDT)
Return-Path: <du...@uberity.com>
Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe004.messaging.microsoft.com. [213.199.154.142])
        by gmr-mx.google.com with ESMTPS id p5si8597534bks.1.2012.05.03.21.20.01
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 03 May 2012 21:20:01 -0700 (PDT)
Received-SPF: pass (google.com: domain of du...@uberity.com designates 213.199.154.142 as permitted sender) client-ip=213.199.154.142;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of du...@uberity.com designates 213.199.154.142 as permitted sender) smtp.mail=du...@uberity.com
Received: from mail28-db3-R.bigfish.com (10.3.81.230) by
 DB3EHSOBE005.bigfish.com (10.3.84.25) with Microsoft SMTP Server id
 14.1.225.23; Fri, 4 May 2012 04:19:50 +0000
Received: from mail28-db3 (localhost [127.0.0.1])	by mail28-db3-R.bigfish.com
 (Postfix) with ESMTP id 56A13480236	for <neo4j@googlegroups.com>; Fri,  4 May
 2012 04:19:50 +0000 (UTC)
X-SpamScore: -5
X-BigFish: PS-5(zzbb2dI9371Ic85fh1432N98dK9a6kzz1202hzz8275bh8275dhz2fh2a8h668h839he5bhbe3k)
X-Forefront-Antispam-Report: CIP:157.56.240.133;KIP:(null);UIP:(null);IPV:NLI;H:BL2PRD0710HT002.namprd07.prod.outlook.com;RD:none;EFVD:NLI
Received-SPF: pass (mail28-db3: domain of uberity.com designates 157.56.240.133 as permitted sender) client-ip=157.56.240.133; envelope-from=du...@uberity.com; helo=BL2PRD0710HT002.namprd07.prod.outlook.com ;.outlook.com ;
Received: from mail28-db3 (localhost.localdomain [127.0.0.1]) by mail28-db3
 (MessageSwitch) id 1336105188506583_26529; Fri,  4 May 2012 04:19:48 +0000
 (UTC)
Received: from DB3EHSMHS015.bigfish.com (unknown [10.3.81.230])	by
 mail28-db3.bigfish.com (Postfix) with ESMTP id 6D24D80043	for
 <neo4j@googlegroups.com>; Fri,  4 May 2012 04:19:48 +0000 (UTC)
Received: from BL2PRD0710HT002.namprd07.prod.outlook.com (157.56.240.133) by
 DB3EHSMHS015.bigfish.com (10.3.87.115) with Microsoft SMTP Server (TLS) id
 14.1.225.23; Fri, 4 May 2012 04:19:46 +0000
Received: from BL2PRD0710MB373.namprd07.prod.outlook.com ([169.254.4.201]) by
 BL2PRD0710HT002.namprd07.prod.outlook.com ([10.255.102.37]) with mapi id
 14.16.0152.000; Fri, 4 May 2012 04:19:54 +0000
From: Duane Nickull <du...@uberity.com>
To: "neo4j@googlegroups.com" <neo4j@googlegroups.com>
Subject: Re: [Neo4j] Getting existing Indexs By Java
Thread-Topic: [Neo4j] Getting existing Indexs By Java
Thread-Index: AQHNJHYZUL3vAivWJka5bjJ1mEIgh5aup+mAgABFT4CAABHXAIACE2wAgACusYCAAQegAIAGQtEy//+QbQA=
Date: Fri, 4 May 2012 04:19:54 +0000
Message-ID: <CBC8A56E.10F568%du...@uberity.com>
In-Reply-To: <3998626.2.1336103906821.JavaMail.geo-discussion-forums@pbcow8>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.255.102.5]
Content-Type: multipart/alternative;
	boundary="_000_CBC8A56E10F568duaneuberitycom_"
MIME-Version: 1.0
Return-Path: du...@uberity.com
X-OriginatorOrg: uberity.com

--_000_CBC8A56E10F568duaneuberitycom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Inline:
***********************************
Consulting and Contracting; Proven Results!
i.  Neo4J, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile
b. http://technoracle.blogspot.com
t.  @duanechaos



From: Mahdi Negahi <negahi.ma...@gmail.com<mailto:negahi.ma...@gmail.com>>
Reply-To: "neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>" <neo4j@go=
oglegroups.com<mailto:neo4j@googlegroups.com>>
Date: Thursday, 3 May, 2012 8:58 PM
To: "neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>" <neo4j@googlegr=
oups.com<mailto:neo4j@googlegroups.com>>
Subject: Re: [Neo4j] Getting existing Indexs By Java

Sorry Peter

you know I want convert a Neo4j graph to other databases .

DN: So that is just silly.  Why would anyone want to ever do that?  ;-)

I convert all the component of a Neo4j database to the target. But I missed=
 index item in the target environment. I want to know, Is there any chance =
to convert indexed item to the XML or something else ?

DN: Okay , seriously, there are 6 major classes in Java that work with inde=
xes.
Index<cid:CB3D09EC-41C9-4F33-A0F9-0FB9A5AB0E4C>
IndexHits<cid:5F06BA85-3A76-4680-B9A9-F4FC01E0FF98>
IndexImplementation<cid:AF5B04BF-9FFE-4140-A758-A5DD832C7292>
IndexIterable<cid:734CA358-13EF-4A1C-BBEE-EDF19559230B>
IndexManager<cid:B8802045-7B77-4513-976D-AD2F4173A772>
IndexProvider<cid:8EE1BC97-3231-47F2-A3A4-5E205215BDF3>


I think you why you want, the INdexManager has a lot of methods worth explo=
ring.  Whoever designed this class clearly thought of your use case.  I wil=
l provide a caveat however.  I may have misunderstood your request.  If not=
, IndexManager has a method nodeIndexNames<cid:12E4D8AC-F566-4939-AD45-F00C=
3637849E>()
 Which returns an array 9String[]) of all the nodes that are indexes.  One =
returned, you can serialize them into any data format with simple parlous t=
ricks.

Perhaps I did not understand your request?

Duane


for example, imagine we have a graph with two nodes and a relationship.

node 1 :
ID: 1
Property --> Name: Mahdi
Index (PKEY)--> PrimeryKey: 50

node 2:
ID: 2
Property --> Name: Peter
Index (PKEY)--> PrimeryKey: 1


relationship:

Type----> Know
property ---> Since: 2012


so we past this graph to the application and the result something like this

<Node ID=3D1> <Index Name=3D"PKEY" Key=3D"PrimeryKey" Value=3D"50 /> </Node=
>
<Node ID=3D2> <Index Name=3D"PKEY" Key=3D"PrimeryKey" Value=3D"1 /> </Node>


it is much noticeable that we do not have any assumption about index's name=
 , index key .... we just past a graph to the program or function and it re=
turns the : index name  , index key and index value with a specific format





On Monday, April 30, 2012 1:22:13 PM UTC+8, Peter Neubauer wrote:

Sorry Mahdi,
It's hard to read your question. Do you have any code that shows your probl=
em?

On Apr 30, 2012 6:22 AM, "Mahdi Negahi" <negahi.ma...@gmail.com<mailto:nega=
hi.ma...@gmail.com>> wrote:
even we can not convert items that they indexed to the XML or something lik=
e that.

On Sunday, April 29, 2012 8:38:59 PM UTC+8, Mattias Persson wrote:
The values are stored in the lucene documents, but API-wise you cannot reac=
h them I'm afraid.

2012/4/29 Mahdi Negahi <negahi.ma...@gmail.com<mailto:negahi.ma...@gmail.co=
m>>
thanks for ur reply

The application must be worked with all graph, so I don't know the informat=
ion is stored as node's property.


On Saturday, April 28, 2012 2:31:42 AM UTC+8, Michael Hunger wrote:
Did you store the information also as property on the node?

Otherwise you'd have to use some low level lucene operations to extract it,=
 you can do it manually with the lucene tool called luke,
It can export this data into xml, see:  http://www.getopt.org/luke/
"Export to XML - exports index data and metadata to XML file. This is avail=
able both from the GUI and from the command-line."

I don't have the code at hand to read and use the lucene database format pr=
ogrammatically.

Michael

Am 27.04.2012 um 19:27 schrieb Mahdi Negahi:

I want to store all nodes that they indexed by corresponding index to other=
 databases. imagine our database has 1 node that it indexed by a index whic=
h is called "PrimaryKey" the key of the index is "PKEY" and the value is "1=
25". we just added this Index by following code:

IndexManager index =3D graphDb.index();
Index<Node> PrimaryKey=3D index.forNodes( "PrimaryKey");
PrimaryKey.add( node1, "PKEY", "125");


so when we pars the databases when we analyse this node , the application m=
ust be fetch all the node index (PrimaryKey) the key of the index (PKEY) an=
d the value (125).
I want to save these information in other databases.

Thanks for ur answer
Mahdi

On Friday, April 27, 2012 9:19:47 PM UTC+8, Axel wrote:
try

for(String s :_graphDb.index().nodeIndexNames())
    {
         graphDb.index().forNodes(s).query(...)
    }
...


>
>
> I want to fetch all available Index in a graph database by Java. Then,
> I want to fetch all indexed node on them. we don't have any assumption
> about Index name, the program must be fetch them automatically.
>
> now I can fetch all index name by this line :
>
> for(String s :_graphDb.index().nodeIndexNames())
>    {
>    }
>
> but i stuck in next step.
>
> please advice me!
>
> regard
> Mahdi






--
Mattias Persson, [matt...@neotechnology.com<mailto:matt...@neotechnology.co=
m>]
Hacker, Neo Technology
www.neotechnology.com<http://www.neotechnology.com>

--_000_CBC8A56E10F568duaneuberitycom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <66F6DDA0274B514397E4F4CC1CF87...@namprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>
<div>
<div>Inline:</div>
<div><!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Revision>0</o:Revision>
  <o:TotalTime>0</o:TotalTime>
  <o:Pages>1</o:Pages>
  <o:Characters>2</o:Characters>
  <o:Company>Uberity.com</o:Company>
  <o:Lines>1</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:CharactersWithSpaces>2</o:CharactersWithSpaces>
  <o:Version>14.0</o:Version>
 </o:DocumentProperties>
 <o:OfficeDocumentSettings>
  <o:AllowPNG/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:TrackMoves/>
  <w:TrackFormatting/>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:DoNotPromoteQF/>
  <w:LidThemeOther>EN-US</w:LidThemeOther>
  <w:LidThemeAsian>JA</w:LidThemeAsian>
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   <w:SplitPgBreakAndParaMark/>
   <w:EnableOpenTypeKerning/>
   <w:DontFlipMirrorIndents/>
   <w:OverrideTableStyleHps/>
  </w:Compatibility>
  <m:mathPr>
   <m:mathFont m:val=3D"Cambria Math"/>
   <m:brkBin m:val=3D"before"/>
   <m:brkBinSub m:val=3D"&#45;-"/>
   <m:smallFrac m:val=3D"off"/>
   <m:dispDef/>
   <m:lMargin m:val=3D"0"/>
   <m:rMargin m:val=3D"0"/>
   <m:defJc m:val=3D"centerGroup"/>
   <m:wrapIndent m:val=3D"1440"/>
   <m:intLim m:val=3D"subSup"/>
   <m:naryLim m:val=3D"undOvr"/>
  </m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState=3D"false" DefUnhideWhenUsed=3D"true"
  DefSemiHidden=3D"true" DefQFormat=3D"false" DefPriority=3D"99"
  LatentStyleCount=3D"276">
  <w:LsdException Locked=3D"false" Priority=3D"0" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Normal"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"heading 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 7"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 8"/>
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 9"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 7"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 8"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 9"/>
  <w:LsdException Locked=3D"false" Priority=3D"35" QFormat=3D"true" Name=3D=
"caption"/>
  <w:LsdException Locked=3D"false" Priority=3D"10" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Title"/>
  <w:LsdException Locked=3D"false" Priority=3D"0" Name=3D"Default Paragraph=
 Font"/>
  <w:LsdException Locked=3D"false" Priority=3D"11" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtitle"/>
  <w:LsdException Locked=3D"false" Priority=3D"22" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Strong"/>
  <w:LsdException Locked=3D"false" Priority=3D"20" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Emphasis"/>
  <w:LsdException Locked=3D"false" Priority=3D"59" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Table Grid"/>
  <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" Name=3D"Placeho=
lder Text"/>
  <w:LsdException Locked=3D"false" Priority=3D"1" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"No Spacing"/>
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Shading"/>
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light List"/>
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Grid"/>
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Dark List"/>
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading"/>
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful List"/>
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid"/>
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 1"/>
  <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" Name=3D"Revisio=
n"/>
  <w:LsdException Locked=3D"false" Priority=3D"34" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"List Paragraph"/>
  <w:LsdException Locked=3D"false" Priority=3D"29" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Quote"/>
  <w:LsdException Locked=3D"false" Priority=3D"30" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Quote"/>
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 1"/>
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 2"/>
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 3"/>
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 4"/>
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 5"/>
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 6"/>
  <w:LsdException Locked=3D"false" Priority=3D"19" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Emphasis"/>
  <w:LsdException Locked=3D"false" Priority=3D"21" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Emphasis"/>
  <w:LsdException Locked=3D"false" Priority=3D"31" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Reference"/>
  <w:LsdException Locked=3D"false" Priority=3D"32" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Reference"/>
  <w:LsdException Locked=3D"false" Priority=3D"33" SemiHidden=3D"false"
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Book Title"/>
  <w:LsdException Locked=3D"false" Priority=3D"37" Name=3D"Bibliography"/>
  <w:LsdException Locked=3D"false" Priority=3D"39" QFormat=3D"true" Name=3D=
"TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
 /* Style Definitions */
table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; ">********=
***************************</div>
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; ">Consulti=
ng and Contracting; Proven Results!</div>
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; ">i. &nbsp=
;Neo4J, Java, LiveCycle ES, Flex, AIR, CQ5 &amp; Mobile</div>
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; ">b. <a hr=
ef=3D"http://technoracle.blogspot.com">
http://technoracle.blogspot.com</a></div>
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; ">t. &nbsp=
;@duanechaos</div>
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><br>
</div>
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><br>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Mahdi Negahi &lt;<a href=3D"m=
ailto:negahi.ma...@gmail.com">negahi.ma...@gmail.com</a>&gt;<br>
<span style=3D"font-weight:bold">Reply-To: </span>&quot;<a href=3D"mailto:n=
eo4j@googlegroups.com">neo4j@googlegroups.com</a>&quot; &lt;<a href=3D"mail=
to:neo4j@googlegroups.com">neo4j@googlegroups.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Thursday, 3 May, 2012 8:58 PM=
<br>
<span style=3D"font-weight:bold">To: </span>&quot;<a href=3D"mailto:neo4j@g=
ooglegroups.com">neo4j@googlegroups.com</a>&quot; &lt;<a href=3D"mailto:neo=
4j@googlegroups.com">neo4j@googlegroups.com</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [Neo4j] Getting existi=
ng Indexs By Java<br>
</div>
<div><br>
</div>
<div>
<div>Sorry Peter&nbsp;
<div><br>
</div>
<div>you know I want convert a Neo4j graph to other databases .</div>
</div>
</div>
</span>
<div><br>
</div>
<div>DN: So that is just silly. &nbsp;Why would anyone want to ever do that=
? &nbsp;;-)</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div>
<div>I convert all the component of a Neo4j database to the target. But I m=
issed index item in the target environment. I want to know, Is there any ch=
ance to convert indexed item to the XML or something else ?</div>
</div>
</div>
</span>
<div><br>
</div>
<div>DN: Okay , seriously, there are 6 major classes in Java that work with=
 indexes.</div>
<div><a href=3D"cid:CB3D09EC-41C9-4F33-A0F9-0FB9A5AB0E4C" title=3D"interfac=
e in org.neo4j.graphdb.index" target=3D"classFrame" type=3D"text/html"><i>I=
ndex</i></a>
</div>
<font class=3D"FrameItemFont"><a href=3D"cid:5F06BA85-3A76-4680-B9A9-F4FC01=
E0FF98" title=3D"interface in org.neo4j.graphdb.index" target=3D"classFrame=
" type=3D"text/html"><i>IndexHits</i></a>
<br>
<a href=3D"cid:AF5B04BF-9FFE-4140-A758-A5DD832C7292" title=3D"interface in =
org.neo4j.graphdb.index" target=3D"classFrame" type=3D"text/html"><i>IndexI=
mplementation</i></a>
<br>
<a href=3D"cid:734CA358-13EF-4A1C-BBEE-EDF19559230B" title=3D"interface in =
org.neo4j.graphdb.index" target=3D"classFrame" type=3D"text/html"><i>IndexI=
terable</i></a>
<br>
<a href=3D"cid:B8802045-7B77-4513-976D-AD2F4173A772" title=3D"interface in =
org.neo4j.graphdb.index" target=3D"classFrame" type=3D"text/html"><i>IndexM=
anager</i></a>
<br>
<a href=3D"cid:8EE1BC97-3231-47F2-A3A4-5E205215BDF3" title=3D"class in org.=
neo4j.graphdb.index" target=3D"classFrame" type=3D"text/html">IndexProvider=
</a></font>
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div>
<div>I think you why you want, the INdexManager has a lot of methods worth =
exploring. &nbsp;Whoever designed this class clearly thought of your use ca=
se. &nbsp;I will provide a caveat however. &nbsp;I may have misunderstood y=
our request. &nbsp;If not, IndexManager has a method&nbsp;<span class=3D"Ap=
ple-style-span" style=3D"font-family: monospace; "><b><a href=3D"cid:12E4D8=
AC-F566-4939-AD45-F00C3637849E" type=3D"text/html">nodeIndexNames</a></b>()=
</span></div>
<div>&nbsp;Which returns an array 9String[]) of all the nodes that are inde=
xes. &nbsp;One returned, you can serialize them into any data format with s=
imple parlous tricks.</div>
</div>
</div>
</span>
<div><br>
</div>
<div>Perhaps I did not understand your request?</div>
<div><br>
</div>
<div>Duane</div>
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div>
<div>for example, imagine we have a graph with two nodes and a relationship=
.</div>
<div><br>
</div>
<div>node 1 :&nbsp;</div>
<div>ID: 1</div>
<div>Property --&gt; Name: Mahdi</div>
<div>Index (PKEY)--&gt; PrimeryKey: 50</div>
<div><br>
</div>
<div>node 2:</div>
<div>ID: 2</div>
<div>
<div>Property --&gt; Name: Peter&nbsp;</div>
<div>Index&nbsp;(PKEY)--&gt; PrimeryKey: 1</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>relationship:</div>
<div><br>
</div>
<div>Type----&gt; Know</div>
<div>property ---&gt; Since: 2012</div>
<div><br>
</div>
<div><br>
</div>
<div>so we past this graph to the application and the result something like=
 this</div>
<div><br>
</div>
<div>&lt;Node ID=3D1&gt; &lt;Index Name=3D&quot;PKEY&quot; Key=3D&quot;Prim=
eryKey&quot; Value=3D&quot;50 /&gt; &lt;/Node&gt;</div>
<div>
<div>&lt;Node ID=3D2&gt; &lt;Index&nbsp;Name=3D&quot;PKEY&quot;&nbsp;Key=3D=
&quot;PrimeryKey&quot; Value=3D&quot;1 /&gt; &lt;/Node&gt;</div>
<br class=3D"Apple-interchange-newline">
</div>
<div><br>
</div>
<div>it is much&nbsp;noticeable that we do not have any&nbsp;assumption abo=
ut index's name , index key .... we just past a graph to the program or fun=
ction and it returns the : index name&nbsp;&nbsp;, index key and index valu=
e with a specific format</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
On Monday, April 30, 2012 1:22:13 PM UTC&#43;8, Peter Neubauer wrote:
<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bor=
der-left: 1px #ccc solid;padding-left: 1ex;">
<p>Sorry Mahdi, <br>
It's hard to read your question. Do you have any code that shows your probl=
em? </p>
<div class=3D"gmail_quote">On Apr 30, 2012 6:22 AM, &quot;Mahdi Negahi&quot=
; &lt;<a href=3D"mailto:negahi.ma...@gmail.com" target=3D"_blank">negahi.ma=
h...@gmail.com</a>&gt; wrote:<br type=3D"attribution">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
even we can not convert items that they indexed to the XML or something lik=
e that.<br>
<br>
On Sunday, April 29, 2012 8:38:59 PM UTC&#43;8, Mattias Persson wrote:
<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
The values are stored in the lucene documents, but API-wise you cannot reac=
h them I'm afraid.<br>
<br>
<div class=3D"gmail_quote">2012/4/29 Mahdi Negahi <span dir=3D"ltr">&lt;<a =
href=3D"mailto:negahi.ma...@gmail.com" target=3D"_blank">negahi.mahdi@gmail=
.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div>thanks for ur reply</div>
<div><br>
</div>
The application must be worked with all graph, so I don't know the informat=
ion is stored as node's property.
<div>
<div><br>
<br>
On Saturday, April 28, 2012 2:31:42 AM UTC&#43;8, Michael Hunger wrote:
<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
<div style=3D"word-wrap:break-word">Did you store the information also as p=
roperty on the node?
<div><br>
</div>
<div>Otherwise you'd have to use some low level lucene operations to extrac=
t it, you can do it manually with the lucene tool called luke,</div>
<div>It can export this data into xml, see: &nbsp;<a href=3D"http://www.get=
opt.org/luke/" target=3D"_blank">http://www.getopt.org/luke/</a></div>
<div>&quot;<span style=3D"font-family:Times">Export to XML - exports index =
data and metadata to XML file. This is available both from the GUI and from=
 the command-line.&quot;</span></div>
<div><br>
</div>
<div>I don't have the code at hand to read and use the lucene database form=
at programmatically.</div>
<div><br>
</div>
<div>Michael</div>
<div><br>
</div>
<div>
<div>
<div>Am 27.04.2012 um 19:27 schrieb Mahdi Negahi:</div>
<br>
<blockquote type=3D"cite">I want to store all nodes that they indexed by&nb=
sp;corresponding index to other databases.&nbsp;imagine our database has 1 =
node that it indexed by a index which is called &quot;PrimaryKey&quot; the =
key of the index is &quot;PKEY&quot; and the value is &quot;125&quot;. we
 just added this Index by following code:
<div><br>
<div>
<div style=3D"padding-left:0em!important;padding-right:1em!important;outlin=
e-width:0px!important;text-align:left;width:auto!important;border-top-left-=
radius:0px!important;background-color:white!important;min-height:inherit!im=
portant;float:none!important;line-height:18px;outline-style:initial!importa=
nt;border-top-right-radius:0px!important;outline-color:initial!important;fo=
nt-size:14px;border-bottom-right-radius:0px!important;white-space:pre!impor=
tant;font-family:Consolas,Monaco,'Bitstream Vera Sans Mono',monospace;borde=
r-bottom-left-radius:0px!important;background-image:none!important">
<code style=3D"border-top-left-radius:0px!important;border-top-right-radius=
:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-=
radius:0px!important;background-image:none!important;background-color:initi=
al!important;float:none!important;min-height:auto!important;outline-width:0=
px!important;outline-style:initial!important;outline-color:initial!importan=
t;width:auto!important;font-family:Consolas,Monaco,'Bitstream Vera Sans Mon=
o',monospace!important;min-height:inherit!important">IndexManager
 index =3D graphDb.index();</code></div>
<div style=3D"border-top-left-radius:0px!important;border-top-right-radius:=
0px!important;border-bottom-right-radius:0px!important;border-bottom-left-r=
adius:0px!important;background-image:none!important;background-color:white!=
important;float:none!important;min-height:auto!important;line-height:18px;o=
utline-width:0px!important;outline-style:initial!important;outline-color:in=
itial!important;padding-right:1em!important;padding-left:0em!important;text=
-align:left;width:auto!important;font-family:Consolas,Monaco,'Bitstream Ver=
a Sans Mono',monospace;font-size:14px;min-height:inherit!important;white-sp=
ace:pre!important">
<code style=3D"outline-width:0px!important;width:auto!important;border-top-=
left-radius:0px!important;background-color:initial!important;min-height:inh=
erit!important;float:none!important;outline-style:initial!important;border-=
top-right-radius:0px!important;outline-color:initial!important;border-botto=
m-right-radius:0px!important;font-family:Consolas,Monaco,'Bitstream Vera Sa=
ns Mono',monospace!important;border-bottom-left-radius:0px!important;backgr=
ound-image:none!important">Index&lt;Node&gt;
 PrimaryKey=3D index.forNodes( </code><code style=3D"border-top-left-radius=
:0px!important;border-top-right-radius:0px!important;border-bottom-right-ra=
dius:0px!important;border-bottom-left-radius:0px!important;background-image=
:none!important;background-color:initial!important;float:none!important;min=
-height:auto!important;outline-width:0px!important;outline-style:initial!im=
portant;outline-color:initial!important;width:auto!important;font-family:Co=
nsolas,Monaco,'Bitstream Vera Sans Mono',monospace!important;min-height:inh=
erit!important"><font color=3D"#2a00ff">&quot;</font><font color=3D"#0000ff=
">PrimaryKey</font><font color=3D"#2a00ff">&quot;</font></code><font color=
=3D"#000000"></font><code style=3D"outline-width:0px!important;width:auto!i=
mportant;border-top-left-radius:0px!important;background-color:initial!impo=
rtant;min-height:inherit!important;float:none!important;outline-style:initi=
al!important;border-top-right-radius:0px!important;outline-color:initial!im=
portant;border-bottom-right-radius:0px!important;font-family:Consolas,Monac=
o,'Bitstream Vera Sans Mono',monospace!important;border-bottom-left-radius:=
0px!important;background-image:none!important">);</code></div>
</div>
<div><code style=3D"outline-width:0px!important;text-align:left;width:auto!=
important;border-top-left-radius:0px!important;background-color:initial!imp=
ortant;min-height:inherit!important;float:none!important;line-height:18px;o=
utline-style:initial!important;border-top-right-radius:0px!important;outlin=
e-color:initial!important;font-size:14px;border-bottom-right-radius:0px!imp=
ortant;white-space:pre-wrap;font-family:Consolas,Monaco,'Bitstream Vera San=
s Mono',monospace!important;border-bottom-left-radius:0px!important;backgro=
und-image:none!important">PrimaryKey.add(
 node1, </code><code style=3D"border-top-left-radius:0px!important;border-t=
op-right-radius:0px!important;border-bottom-right-radius:0px!important;bord=
er-bottom-left-radius:0px!important;background-image:none!important;backgro=
und-color:initial!important;float:none!important;min-height:auto!important;=
line-height:18px;outline-width:0px!important;outline-style:initial!importan=
t;outline-color:initial!important;text-align:left;width:auto!important;font=
-family:Consolas,Monaco,'Bitstream Vera Sans Mono',monospace!important;font=
-size:14px;min-height:inherit!important;color:rgb(42,0,255)!important;white=
-space:pre-wrap">&quot;PKEY&quot;</code><code style=3D"outline-width:0px!im=
portant;text-align:left;width:auto!important;border-top-left-radius:0px!imp=
ortant;background-color:initial!important;min-height:inherit!important;floa=
t:none!important;line-height:18px;outline-style:initial!important;border-to=
p-right-radius:0px!important;outline-color:initial!important;font-size:14px=
;border-bottom-right-radius:0px!important;white-space:pre-wrap;font-family:=
Consolas,Monaco,'Bitstream Vera Sans Mono',monospace!important;border-botto=
m-left-radius:0px!important;background-image:none!important">,
</code><code style=3D"border-top-left-radius:0px!important;border-top-right=
-radius:0px!important;border-bottom-right-radius:0px!important;border-botto=
m-left-radius:0px!important;background-image:none!important;background-colo=
r:initial!important;float:none!important;min-height:auto!important;line-hei=
ght:18px;outline-width:0px!important;outline-style:initial!important;outlin=
e-color:initial!important;text-align:left;width:auto!important;font-family:=
Consolas,Monaco,'Bitstream Vera Sans Mono',monospace!important;font-size:14=
px;min-height:inherit!important;color:rgb(42,0,255)!important;white-space:p=
re-wrap">&quot;125&quot;</code><span style=3D"line-height: 18px; text-align=
: left; font-size: 14px; white-space: pre-wrap; font-family: Consolas, Mona=
co, 'Bitstream Vera Sans Mono', monospace; "></span><code style=3D"outline-=
width:0px!important;text-align:left;width:auto!important;border-top-left-ra=
dius:0px!important;background-color:initial!important;min-height:inherit!im=
portant;float:none!important;line-height:18px;outline-style:initial!importa=
nt;border-top-right-radius:0px!important;outline-color:initial!important;fo=
nt-size:14px;border-bottom-right-radius:0px!important;white-space:pre-wrap;=
font-family:Consolas,Monaco,'Bitstream Vera Sans Mono',monospace!important;=
border-bottom-left-radius:0px!important;background-image:none!important">);=
</code>&nbsp;<br>
<br>
<br>
so when we pars the databases when we analyse this node , the application m=
ust be fetch all the node index (<font color=3D"#0000ff">PrimaryKey</font>)=
 the key of the index (<font color=3D"#0000ff">PKEY</font>) and the value (=
<font color=3D"#0000ff">125</font>).<br>
I want to save these information in other databases.</div>
<div><br>
</div>
<div>Thanks for ur answer&nbsp;</div>
<div>Mahdi<br>
<br>
On Friday, April 27, 2012 9:19:47 PM UTC&#43;8, Axel wrote:
<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
try <br>
<br>
for(String s :_graphDb.index().<u></u>nodeIndexNam<u></u><wbr>es()) <br>
&nbsp; &nbsp; { <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;graphDb.index().forNodes(s).<u></u>q<u></=
u><wbr>uery(...) <br>
&nbsp; &nbsp; } <br>
... <br>
<br>
<br>
&gt; <br>
&gt; <br>
&gt; I want to fetch all available Index in a graph database by Java. Then,=
 <br>
&gt; I want to fetch all indexed node on them. we don't have any assumption=
 <br>
&gt; about Index name, the program must be fetch them automatically. <br>
&gt; <br>
&gt; now I can fetch all index name by this line : <br>
&gt; <br>
&gt; for(String s :_graphDb.index().<u></u>nodeIndexNam<u></u><wbr>es()) <b=
r>
&gt; &nbsp; &nbsp;{ <br>
&gt; &nbsp; &nbsp;} <br>
&gt; <br>
&gt; but i stuck in next step. <br>
&gt; <br>
&gt; please advice me! <br>
&gt; <br>
&gt; regard <br>
&gt; Mahdi <br>
<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
<br clear=3D"all">
<div><br>
</div>
-- <br>
Mattias Persson, [<a href=3D"mailto:matt...@neotechnology.com" target=3D"_b=
lank">matt...@neotechnology.com</a>]<br>
Hacker, Neo Technology<br>
<a href=3D"http://www.neotechnology.com" target=3D"_blank">www.neotechnolog=
y.com</a><br>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</span>
</body>
</html>

--_000_CBC8A56E10F568duaneuberitycom_--