Semantisk sökning
Debug outputElasticStore{ "smw": { "query": "<q>[[~~"Carl Gustav Östling]] OR [[~~"CGÖ]]</q>", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 0 }, "description_log": [ { "Disjunction": " <q>[[~~"Carl Gustav Östling]] OR [[~~"CGÖ]]</q> " }, [ { "ValueDescription": "[[~~"Carl Gustav Östling]]" } ], [ { "ValueDescription": "[[~~"CGÖ]]" } ] ] }, "elastic": [ { "index": "smw-data-mediawikidb", "type": "data", "body": { "_source": false, "from": 100, "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": "Carl Gustav Östling", "type": "phrase" } } ] } }, { "bool": { "must": [ { "multi_match": { "fields": [ "subject.title^8", "text_copy^5", "text_raw", "attachment.title^3", "attachment.content" ], "query": "CGÖ", "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:"carl gustav östling" | (subject.title:"carl gustav östling")^8.0 | (text_copy:"carl gustav östling")^5.0)) (+(text_raw:cgö | (subject.title:cgö)^8.0 | (text_copy:cgö)^5.0)))~1) #*:*" } ] } ] }