Semantisk sökning
Debug outputElasticStore{ "smw": { "query": "<q>[[~~"Sydafrika]] OR [[~~"HB]]</q>", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 0 }, "description_log": [ { "Disjunction": " <q>[[~~"Sydafrika]] OR [[~~"HB]]</q> " }, [ { "ValueDescription": "[[~~"Sydafrika]]" } ], [ { "ValueDescription": "[[~~"HB]]" } ] ] }, "elastic": [ { "index": "smw-data-mediawikidb", "type": "data", "body": { "_source": false, "from": 50, "size": 51, "query": { "constant_score": { "filter": { "bool": { "should": [ { "bool": { "must": [ { "multi_match": { "fields": [ "subject.title^8", "text_copy^5", "text_raw", "attachment.title^3", "attachment.content" ], "query": "Sydafrika", "type": "phrase" } } ] } }, { "bool": { "must": [ { "multi_match": { "fields": [ "subject.title^8", "text_copy^5", "text_raw", "attachment.title^3", "attachment.content" ], "query": "HB", "type": "phrase" } } ] } } ] } } } }, "sort": [ { "subject.sortkey.sort": { "order": "asc" }, "subject.title.sort": { "order": "asc" } } ] } }, { "_shards": { "total": 1, "successful": 1, "failed": 0 }, "valid": true, "explanations": [ { "index": "smw-data-mediawikidb-v2", "valid": true, "explanation": "+ConstantScore(((+(text_raw:sydafrika | (subject.title:sydafrika)^8.0 | (text_copy:sydafrika)^5.0)) (+(text_raw:hb | (subject.title:hb)^8.0 | (text_copy:hb)^5.0)))~1) #*:*" } ] } ] }