Issue/1207 (NotLikeComparatorWithAllowedProperties)

De Semantic MediaWiki - Sandbox

For Property:Has status with [[Allows value::open]], [[Allows value::closed]]

{{#ask: [[Has status::!~*en*]]
 |?Has status
 |limit=3
}}
 Has status
Imp 2closed
Issue/1244 (RecordWithRedirectedField)closed
Issue/2093/1closed
... autres résultats
Debug outputElasticStore
{ "smw": { "query": "[[Has status::!~*en*]]", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 1 }, "description_log": [ [ { "SomeProperty": "[[Has status::!~*en*]]" } ] ] }, "elastic": [ { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "from": 0, "size": 251, "query": { "constant_score": { "filter": { "bool": { "must": [ { "exists": { "field": "P:32986.txtField" } }, { "bool": { "must_not": { "query_string": { "fields": [ "P:32986.txtField" ], "query": "*en*" } } } } ] } } } }, "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(+ConstantScore(NormsFieldExistsQuery [field=P:32986.txtField]) +(-P:32986.txtField:*en* +*:*)) #*:*" } ] } ] }

See also[modifier | modifier le wikicode]

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.