aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test/vespaxmlparser/test05.xml
blob: b3ba465d55c5ca5967757c985c5c4b23061de4f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<!--
    NOTE: see documentmanager.cfg for document type during test
    
    A document update including:

    - Only multivalue fields are supported by "add"
    - on "weightedsetstring", no given weight implies weight = 1
-->

<vespafeed>
    <update documenttype="news" documentid="id:ns:news::http://news5"> 
        <add field="stringarr">
            <item>addString1</item>
            <item>addString2</item>
        </add>
        <add field="longarr">
            <item>5</item>
        </add>
        <add field="weightedsetint">
            <item weight="11">11</item>
            <item weight="12">12</item>
        </add>
        <add field="weightedsetstring">
            <item>add13</item>
        </add>
    </update>
</vespafeed>