aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin/src/test/files/feedhandler/test10.xml
blob: f75f6a1b335e5e73662b1c2cef3dbc2458ebda20 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->

<!--
    Document   : test10.xml
    Created on : July 27, 2007, 11:37 AM
    Author     : alimf
    Description:
        this feed contains both documents, updates and removes.
-->

<vespafeed>

    <document documenttype="news" documentid="id:ns:news::http://news10a">
        <url>testUrl</url>
        <title>testTitle</title>
        <last_downloaded>1</last_downloaded>
        <value_long>2</value_long>
        <value_content>testValueContent</value_content>
        <stringarr>
            <item>stringarrItem1</item>
            <item>stringarrItem2</item>
        </stringarr>
        <intarr>
            <item>3</item>
            <item>4</item>
        </intarr>
        <longarr>
            <item>5</item>
            <item>6</item>
        </longarr>
        <bytearr>
            <item>7</item>
            <item>8</item>
        </bytearr>
        <floatarr>
            <item>9</item>
            <item>10</item>
        </floatarr>
        <weightedsetint>
            <item weight="11">11</item>
            <item weight="12">12</item>
        </weightedsetint>
        <weightedsetstring>
            <item weight="13">string13</item>
            <item weight="14">string14</item>
        </weightedsetstring>
    </document>

    <document documenttype="news" documentid="id:ns:news::http://news10b">
        <url>testUrl2</url>
    </document>

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

    <update documenttype="news" documentid="id:ns:news::http://news10d">
        <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>

    <remove documentid="id:ns:news::http://news10e"/>
</vespafeed>