blob: 16944dde9fa6d84b9bb28651f80614137fa7eb07 (
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
|
<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<vespafeed>
<document documenttype="news" documentid="doc:crawler:http://www.ntnu.no/">
<value_long>1008</value_long>
<weightedsetstring>
<item weight="1">First</item>
<item weight="2">Second</item>
</weightedsetstring>
</document>
<update documenttype="news" documentid="doc:crawler:http://www.ntnu.no/">
<increment field="value_long" by="1" />
<decrement field="value_long" by="2" />
<divide field="value_long" by="3" />
<multiply field="value_long" by="4" />
</update>
<update documenttype="news" documentid="doc:crawler:http://www.ntnu.no/">
<alter field="value_long">
<increment by="5" />
<decrement by="6" />
</alter>
<alter field="value_long">
<divide by="7" />
<multiply by="8" />
</alter>
</update>
<update documenttype="news" documentid="doc:crawler:http://www.ntnu.no/">
<increment field="weightedsetstring" by="9">
<key>First</key>
<key>Second</key>
</increment>
</update>
</vespafeed>
|