« Issue/2111 » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
Relates to #2111[[CiteRef::gh:smw:2111]] | |||
<pre> | <pre> | ||
{{#ask: [[ようこそ::ようこそ]] | {{#ask: [[ようこそ::ようこそ]] | ||
Ligne 35 : | Ligne 37 : | ||
|format=debug | |format=debug | ||
}} | }} | ||
{{#scite:gh:smw:2111 | |||
|type=issue | |||
|citation text=https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2111 | |||
}} | |||
[[Category:Issue]] |
Dernière version du 17 décembre 2016 à 15:33
Relates to #21111
{{#ask: [[ようこそ::ようこそ]] |?ようこそ |?Has url |limit=1 }}
ようこそ | Attribut:Has URL | |
---|---|---|
Issue/2111/ようこそ | ようこそ | https://example.org/ようこそ |
Debug outputElasticStore{ "smw": { "query": "[[ようこそ::ようこそ]]", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 1 }, "description_log": [ { "SomeProperty": "[[ようこそ::ようこそ]]" } ] }, "elastic": [ { "index": "smw-data-db9910120150926-02100_", "body": { "_source": false, "from": 0, "size": 2, "query": { "constant_score": { "filter": { "bool": { "filter": { "term": { "P:7282.wpgID": 7281 } } } } } }, "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_-v1", "valid": true, "explanation": "ConstantScore(#P:7282.wpgID:[7281 TO 7281])" } ] } ] }
{{#ask: [[Has url::~*ようこそ]] |?ようこそ |?Has url |limit=1 }}
ようこそ | Attribut:Has URL | |
---|---|---|
Issue/2111/ようこそ | ようこそ | https://example.org/ようこそ |
Debug outputElasticStore{ "smw": { "query": "[[Has url::~*ようこそ]]", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 1 }, "description_log": [ { "SomeProperty": "[[Has Url::~http://*ようこそ]]" } ] }, "elastic": [ { "index": "smw-data-db9910120150926-02100_", "body": { "_source": false, "from": 0, "size": 2, "query": { "constant_score": { "filter": { "bool": { "must": { "query_string": { "fields": [ "P:1997.uriField.lowercase" ], "query": "*ようこそ" } } } } } }, "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_-v1", "valid": true, "explanation": "ConstantScore(+P:1997.uriField.lowercase:*ようこそ)" } ] } ] }