Thanks Geert,

 

How do I setup document-properties using XCC ?

 

-Tony

 


> From: [email protected]
> To: [email protected]
> Date: Wed, 21 Jul 2010 16:00:51 +0200
> Subject: Re: [MarkLogic Dev General] Data Insert - XML/Text/Binary Files
> 
> Hi Tony,
> 
> You could try to store the text and binary as document-properties, but that 
> might be a bit bloated. Though, if you really want to be able to do 
> word-queries on the text, you will need to wrap it in XML anyhow; non-xml is 
> ignored by the indexer. A relatively elegant way to store relations between 
> object, is to put xlink-style values in document-properties, but you could 
> derive relations from directory location or filename or something alike just 
> as well. You will have to do some manual work though, the database can't 
> recognize the relation itself..
> 
> Kind regards,
> Geert
> 
> >
> 
> 
> drs. G.P.H. (Geert) Josten
> Consultant
> 
> Daidalos BV
> Hoekeindsehof 1-4
> 2665 JZ Bleiswijk
> 
> T +31 (0)10 850 1200
> F +31 (0)10 850 1199
> 
> mailto:[email protected]
> http://www.daidalos.nl/
> 
> KvK 27164984
> 
> 
> De informatie - verzonden in of met dit e-mailbericht - is afkomstig van 
> Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
> bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
> bericht kunnen geen rechten worden ontleend.
> 
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of
> > Tony Mariella
> > Sent: woensdag 21 juli 2010 15:53
> > To: [email protected]
> > Subject: [MarkLogic Dev General] Data Insert - XML/Text/Binary Files
> >
> > I have a dataset that consists of an XML file and related
> > text and binary files.
> > At some point I would like to be able to do text queries on
> > the text files (like OracleText).
> > I'm not quite sure how to insert the data in such a way that
> > the text or binary files are related to the xml data.
> >
> > Using the XCC library I currently use session.insertContent()
> > on the xml data to insert the xml into Marklogic.
> > How can I add the text files into the database so that they
> > are related to the xml data ?
> >
> > Tony Mariella
> > Raytheon COmpany
> >
> >
> >
> >
> >
> >
> >
> >
> >
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
                                          
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to