SearchAnythingByNamespace

De Semantic MediaWiki - Sandbox

Révision datée du 26 janvier 2016 à 10:35 par Mwjames (discussion | contributions) (Created page with "http://wikimedia.7.x6.nabble.com/seems-broken-td5058385.html <nowiki>+</nowiki> as a condition searches for any object value (which means not only pages) with an assigne...")
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

http://wikimedia.7.x6.nabble.com/seems-broken-td5058385.html

[[:+]] as a condition searches for any object value (which means not only pages) with an assigned NS_MAIN namespace.

{{#ask: [[:+]]
 |limit=5
 |format=table
}}
 
"Just a Test, nothing less, nothing more" by Noe, Jane; Doe, John
"Just a Test, nothing less, nothing more" by Noe, Jane; Doe, John
"Just a Test, nothing less, nothing more" by Noe, Jane; Doe, John
"Next Test - no mapping property" by Doe, John; Noe, Jane
"Next Test - no mapping property" by Doe, John; Noe, Jane
... autres résultats
Debug outputElasticStore
{ "smw": { "query": "[[:+]]", "sort": { "": "ASC" }, "metrics": { "query size": 1, "query depth": 0 }, "description_log": [ { "NamespaceDescription": "[[:+]]" } ] }, "elastic": [ { "index": "smw-data-db9910120150926-02100_", "body": { "_source": false, "from": 0, "size": 6, "query": { "constant_score": { "filter": { "bool": { "filter": { "term": { "subject.namespace": 0 } } } } } }, "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(#subject.namespace:[0 TO 0])" } ] } ] }
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.