aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test/vespaxmlparser/test04.xml
blob: 1e475dd93198ecd52d301654455fe8ea49a03615 (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 Yahoo. 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:
    
    - different variants of assign
    - Only a few fieldupdates (implies rest is not set/null)
-->

<vespafeed>
    <update documenttype="news" documentid="id:ns:news::http://news4"> 
        <assign field="url">assignUrl</assign>
        <assign field="value_long">2</assign>
        <assign field="stringarr">
            <item>assignString1</item>
            <item>assignString2</item>
        </assign>
        <assign field="intarr">
            <item>3</item>
            <item>4</item>
        </assign>
        <assign field="weightedsetint">
            <item weight="11">11</item>
            <item weight="12">12</item>
        </assign>
    </update>
</vespafeed>