-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathboolean_modifiers.test
57 lines (51 loc) · 1.09 KB
/
boolean_modifiers.test
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
dc.title any fish or/rel.combine=sum dc.creator any sanderson
dc.title any fish prox/unit=word/distance>3 dc.title any squirrel
----------------------------------------------------
[
["search-clause", [
["index", "dc.title"],
["relation", "any"],
["term", "fish"]
]],
["bool-group", [
["boolean", "or"],
["boolean-modifier", [
["punctuation", "/"],
["modifier", "rel.combine"],
["comparitor", "="],
["value", "sum"]
]]
]],
["search-clause", [
["index", "dc.creator"],
["relation", "any"],
["term", "sanderson"]
]],
["search-clause", [
["index", "dc.title"],
["relation", "any"],
["term", "fish"]
]],
["bool-group", [
["boolean", "prox"],
["boolean-modifier", [
["punctuation", "/"],
["modifier", "unit"],
["comparitor", "="],
["value", "word"]
]],
["boolean-modifier", [
["punctuation", "/"],
["modifier", "distance"],
["comparitor", ">"],
["value", "3"]
]]
]],
["search-clause", [
["index", "dc.title"],
["relation", "any"],
["term", "squirrel"]
]]
]
----------------------------------------------------
Boolean modifiers.