elasticsearch-xml icon indicating copy to clipboard operation
elasticsearch-xml copied to clipboard

Arrays not importing

Open richardpeng opened this issue 9 years ago • 2 comments

I have a document that contains the following structure:

<AuthorList CompleteYN="Y">
    <Author ValidYN="Y">
        <LastName>Smith</LastName>
        <ForeName>T M</ForeName>
        <Initials>TM</Initials>
        <Affiliation>Some place</Affiliation>
    </Author>
    <Author ValidYN="Y">
        <LastName>Johnson</LastName>
        <ForeName>K P</ForeName>
        <Initials>KP</Initials>
    </Author>
</AuthorList>

When I send this as part of an XML document for processing, I only get the first entry instead of the entire array.

richardpeng avatar Aug 18 '14 02:08 richardpeng

You can not index XML with this plugin, you can just show Elasticsearch responses in XML.

jprante avatar Aug 18 '14 17:08 jprante

You have to send element-by-element

forzagreen avatar Mar 24 '15 13:03 forzagreen