Différences entre les versions de « Issue/1246 »
De Semantic MediaWiki - Sandbox
(Created page with "<pre> {{#ask: ~Issue/1246/* Category:Issue1246 |?Category }} </pre> {{#ask: ~Issue/1246/* Category:Issue1246 |?Category }} Category:Examples") |
(add) |
||
(2 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
+ | __TOC__ | ||
+ | == Query == | ||
<pre> | <pre> | ||
− | {{#ask: [[~Issue/1246/* | + | {{#ask: |
+ | [[Category:Issue1246]] | ||
+ | [[~Issue/1246/*]] | ||
|?Category | |?Category | ||
}} | }} | ||
</pre> | </pre> | ||
− | {{#ask: [[~Issue/1246/* | + | == Result == |
+ | {{#ask: | ||
+ | [[Category:Issue1246]] | ||
+ | [[~Issue/1246/*]] | ||
|?Category | |?Category | ||
+ | }} | ||
+ | |||
+ | == Debug == | ||
+ | {{#ask: | ||
+ | [[Category:Issue1246]] | ||
+ | [[~Issue/1246/*]] | ||
+ | |?Category | ||
+ | |format=debug | ||
}} | }} | ||
[[Category:Examples]] | [[Category:Examples]] |
Dernière version du 17 août 2016 à 22:14
Query
{{#ask: [[Category:Issue1246]] [[~Issue/1246/*]] |?Category }}
Result
Catégorie | |
---|---|
Issue/1246/1 | Issue1246 |
Issue/1246/2 | Issue1246 |
Debug
Debug outputElasticStore{ "smw": { "query": "[[Category:Issue1246]] [[~Issue/1246/*]]", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 0 }, "description_log": [ { "Conjunction": "[[Catégorie:Issue1246]] [[~Issue/1246/*]]" }, [ { "ClassDescription": "[[Catégorie:Issue1246]]" } ], [ { "ValueDescription": "[[~Issue/1246/*]]" } ] ] }, "elastic": [ { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "from": 0, "size": 251, "query": { "constant_score": { "filter": { "bool": { "must": [ { "bool": { "filter": [ { "term": { "P:4.wpgID": 1439 } } ] } }, { "bool": { "must": { "wildcard": { "subject.sortkey.lowercase": "Issue/1246/*" } } } } ] } } } }, "sort": [ { "subject.sortkey.sort": { "order": "asc" }, "subject.title.sort": { "order": "asc" } } ] } }, { "_shards": { "total": 1, "successful": 1, "failed": 0 }, "valid": true, "explanations": [ { "index": "smw-data-db9910120150926-02100_-v2", "valid": true, "explanation": "+ConstantScore(+(#P:4.wpgID:[1439 TO 1439]) +(+subject.sortkey.lowercase:issue/1246/*)) #*:*" } ] } ] }