jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: newb performance question
Date Thu, 05 Jun 2008 13:43:19 GMT
Put the serialized XML stream into a binary property:
myfile/jcr:content/jcr:data (where myfile is of type nt:file and
jcr:content is of nt:resource).

See also the JCR spec for more info on nt:file/nt:folder and nt:resource.

Alex

On Thu, Jun 5, 2008 at 3:25 PM, Wade Girard <wade.girard@comcast.net> wrote:
> okay, I see this:
>
> If you need to store XML documents as-is (as opposed to an abstract
> content model that's just serialized to XML), then I would recommend
> storing the XML as a binary property, preferably inside a
> nt:file/nt:resource structure.
>
> How do I do this?
>
> On Jun 4, 2008, at 5:58 PM, Alexander Klimetschek wrote:
>
>> On Wed, Jun 4, 2008 at 10:55 PM, Wade Girard <wade.girard@comcast.net>
>> wrote:
>>>
>>> No, These are all xml files ranging in size from 776 kb to 4 kb
>>
>> Are you importing the XML content as node structures? See this mail
>> for a possible improvement:
>> http://markmail.org/message/uebgv5co6qxxgfff
>>
>> Regards,
>> Alex
>>
>> --
>> Alexander Klimetschek
>> alexander.klimetschek@day.com
>
> Wade Girard
> wade.girard@gmail.com


-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message