All attributes and element values are indexed by default. ----------------------------------------------------------------------------- David Lee Lead Engineer MarkLogic Corporation [email protected] Phone: +1 650-287-2531 Cell: +1 812-630-7622 www.marklogic.com<http://www.marklogic.com/>
This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. From: [email protected] [mailto:[email protected]] On Behalf Of Todd Gochenour Sent: Tuesday, February 21, 2012 10:00 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Processing Large Documents? Here's an update. Turns out there's another database I need to port to XQuery. The first one was admin. The second one has attachments stored as blobs in the database, so I turned on the hex-blob option in mysqldump to get a 537MB database extract. The blobs were marked up with the attribute xsi:type="xs:hexBinary" but the xs names was not defined and MarkLogic didn't like that much. I downloaded gVIM (google said it was the best at editing large files) and appended xmlns:xs="http://www.w3.org/2001/XMLSchema" to the root element. Now it's in the database. So here's a question. I guess there is no index on the id attributes of this database by default, is that correct? In performing the denormalization, I'll need to be find all documents that possess an element with an id child equal to a value, say by using the xpath "//usr[id='123']". I'll need to tune the database to optimize this, yes? I'm currently reading up on MarkLogic application services database settings to see if what I need to define is a field.
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
