[MarkLogic Dev General] xml ingestion quick question

David Ennis david.ennis at hinttech.com
Tue Mar 24 03:22:24 PDT 2015


I always find it more exact to configure my indexes in the admin interface
instead of the app-builder interface (I'm not a fan of wizard-type things
that hide some options).  You have more control over the process and more
options.


[BTW: when using roxy, we usually then read the database.xml and extract
the configured indexes for us in ml-config.xml later]



Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] <http://www.hinttech.com>
<https://twitter.com/HintTech>  <http://www.facebook.com/HintTech>
<http://www.linkedin.com/company/HintTech>

On 23 March 2015 at 20:50, cyanline llc <info at cyanline.com> wrote:

> Mike,
>    While attempting to add the Element via the "CONFIGURE ELEMENT RANGE
> INDEX" menu on the app builder interface (port 8000), upon hitting the
> "Find" button, I receive "No elements matched your search". For this
> app, I have added all the other Element Rage Indexes with this method
> (~15).
>    I have not tried via the admin interface, nor with the ml-config.xml
> file.
>    The version of ML is 7.0-4.3
>
> Thank you,
> Cory
> On 03/23/2015 03:44 PM, Michael Blakeley wrote:
> > There is no nesting limit.
> >
> > Why can't you create an element-range index on attachment_filename? Is
> there an error message?
> >
> > What's the full version number of the MarkLogic release you're using?
> >
> > -- Mike
> >
> >> On 23 Mar 2015, at 11:27 , cyanline llc <info at cyanline.com> wrote:
> >>
> >> Hello,
> >>    What am I missing that I can create an Element Range Index on
> >> attachment-count but not attachment_filename?
> >>    Below is sample XML that I am ingesting and building an app around.
> >>
> >> <attachment-count>1</attachment-count>
> >> <attachments>
> >>    <attachment>
> >> <attachment_filename>Adnserio~1.pdf</attachment_filename>
> >>    </attachment>
> >> </attachments>
> >>
> >>    I have checked and I am producing valid XML. 'attachment-count' is
> >> obviously nested, so, is there a nesting maximum?
> >>
> >> Thanks in advance.
> >> _______________________________________________
> >> General mailing list
> >> General at developer.marklogic.com
> >> http://developer.marklogic.com/mailman/listinfo/general
> >>
> > _______________________________________________
> > General mailing list
> > General at developer.marklogic.com
> > http://developer.marklogic.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150324/6104a631/attachment-0001.html 


More information about the General mailing list