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
92
93
94
|
{
"description": "Test `_txt`/`~` with enabled full-text search support on fixed user property (only enabled for MySQL, SQLite, `smwgFixedProperties`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has fixed text",
"contents": "[[Has type::Text]]"
},
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has fixed page",
"contents": "[[Has type::Page]]"
},
{
"page": "Example/Q0106/1",
"contents": "{{#subobject: |Has fixed text=MySQL vs MariaDB database}} {{#subobject: |Has fixed text=Oracle vs MariaDB database}} {{#subobject: |Has fixed text=PostgreSQL vs MariaDB database and more of}} {{#subobject: |Has fixed text=MariaDB overview}}"
},
{
"page": "Example/Q0106/2",
"contents": "{{#subobject: |Has fixed page=Elastic search}} {{#subobject: |Has fixed page=Sphinx search}}"
}
],
"beforeTest": {
"maintenance-run": {
"rebuildData": {
"page": "Property:Has fixed text|Property:Has fixed page|Example/Q0106/1|Example/Q0106/2"
}
}
},
"tests": [
{
"type": "query",
"store": {
"clear-cache": true
},
"about": "#0 on fixed blob user property",
"condition": "[[Has fixed text::~+MariaDB -database]]",
"printouts": [],
"parameters": {
"limit": "10"
},
"assert-queryresult": {
"count": 1,
"results": [
"Example/Q0106/1#0##_29f6aa337d1dc1e2f79376c7940aeab3"
]
}
},
{
"type": "query",
"store": {
"clear-cache": true
},
"about": "#1 on fixed page user property",
"condition": "[[Has fixed page::~*search*]]",
"printouts": [],
"parameters": {
"limit": "10"
},
"assert-queryresult": {
"count": 2,
"results": [
"Example/Q0106/2#0##_39c07b506d692088c97dc0d1cbfd67e6",
"Example/Q0106/2#0##_89e5e037d244e08b050101bb8ddb7768"
]
}
}
],
"settings": {
"smwgEnabledFulltextSearch": true,
"smwgFulltextDeferredUpdate": false,
"smwgFulltextSearchIndexableDataTypes": [
"SMW_FT_BLOB",
"SMW_FT_URI",
"SMW_FT_WIKIPAGE"
],
"smwgFixedProperties": [
"Has_fixed_text",
"Has fixed page"
]
},
"meta": {
"skip-on": {
"postgres": "Fulltext not supported by PostgreSQL.",
"sesame": "Fulltext not supported by SPARQLStore (Sesame).",
"virtuoso": "Fulltext not supported by SPARQLStore (Virtuoso).",
"fuseki": "Fulltext not supported by SPARQLStore (Fuskei).",
"blazegraph": "Fulltext not supported by SPARQLStore (Blazegraph)."
},
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|