-
Notifications
You must be signed in to change notification settings - Fork 1
/
notes
56 lines (47 loc) · 876 Bytes
/
notes
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
# Sample documents for insert/update
d0 = {
'uid' : 'lol',
'data' : {
'title' : 'my title',
'date' : 2005,
'author' : [
{'family-name' : 'smith', 'given-name' : 'bob'}
{'family-name' : 'smith', 'given-name' : 'jane'}
],
'volume' : 5,
'issue' : 2,
},
'flags' : {
},
'sources' : ['oai']
'citations' : [
],
'raw' : '...',
}
d1 = {
'uid' : 'lol',
'data' : {
'title' : 'my title',
'date' : 2005,
'author' : [{'family-name' : 'smith', 'given-name' : 'bob'}],
'volume' : 5,
'issue' : 3,
},
'flags' : {
},
'sources' : ['plos']
}
d2 = {
'uid' : 'lol',
'data' : {
'title' : 'my title',
'date' : 2005,
'author' : [{'family-name' : 'smith', 'given-name' : 'bob'}],
'volume' : 5,
'issue' : 2,
'foo' : 'bar',
},
'flags' : {
},
'sources' : ['pmc']
}