{
"smw": {
"query": "<q>[[~~*hylsor*]] [[Revision ID::!400162]] OR [[~~*hylsa*]] [[Revision ID::!400162]]</q>",
"sort": {
"": "ASC"
},
"metrics": {
"query size": 6,
"query depth": 1
},
"description_log": [
{
"Disjunction": " <q>[[~~*hylsor*]] [[Revision ID::!400162]] OR [[~~*hylsa*]] [[Revision ID::!400162]]</q> "
},
[
{
"Conjunction": "[[~~*hylsor*]] [[Revision ID::!400162]]"
},
[
{
"ValueDescription": "[[~~*hylsor*]]"
}
],
[
[
{
"SomeProperty": "[[Revision ID::!400162]]"
}
]
]
],
[
{
"Conjunction": "[[~~*hylsa*]] [[Revision ID::!400162]]"
},
[
{
"ValueDescription": "[[~~*hylsa*]]"
}
],
[
[
{
"SomeProperty": "[[Revision ID::!400162]]"
}
]
]
]
]
},
"elastic": [
{
"index": "smw-data-mediawikidb",
"type": "data",
"body": {
"_source": false,
"from": 100,
"size": 51,
"query": {
"constant_score": {
"filter": {
"bool": {
"should": [
{
"bool": {
"must": [
{
"bool": {
"must": {
"query_string": {
"fields": [
"subject.title^8",
"text_copy^5",
"text_raw",
"attachment.title^3",
"attachment.content"
],
"query": "*hylsor*",
"minimum_should_match": 1
}
}
}
},
[
{
"exists": {
"field": "P:510.numField"
}
},
{
"bool": {
"must_not": {
"term": {
"P:510.numField": 400162
}
}
}
}
]
]
}
},
{
"bool": {
"must": [
{
"bool": {
"must": {
"query_string": {
"fields": [
"subject.title^8",
"text_copy^5",
"text_raw",
"attachment.title^3",
"attachment.content"
],
"query": "*hylsa*",
"minimum_should_match": 1
}
}
}
},
[
{
"exists": {
"field": "P:510.numField"
}
},
{
"bool": {
"must_not": {
"term": {
"P:510.numField": 400162
}
}
}
}
]
]
}
}
]
}
}
}
},
"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(((+(+(attachment.content:*hylsor* | (attachment.title:*hylsor*)^3.0 | text_raw:*hylsor* | (subject.title:*hylsor*)^8.0 | (text_copy:*hylsor*)^5.0)) +ConstantScore(DocValuesFieldExistsQuery [field=P:510.numField]) +(-P:510.numField:[400162.0 TO 400162.0] +*:*)) (+(+(attachment.content:*hylsa* | (attachment.title:*hylsa*)^3.0 | text_raw:*hylsa* | (subject.title:*hylsa*)^8.0 | (text_copy:*hylsa*)^5.0)) +ConstantScore(DocValuesFieldExistsQuery [field=P:510.numField]) +(-P:510.numField:[400162.0 TO 400162.0] +*:*)))~1) #*:*"
}
]
}
]
}