Page MenuHomePhabricator
Paste P9522

(An Untitled Masterwork)
ActivePublic

Authored by EBernhardson on Mon, Nov 4, 6:26 PM.
{
"_source": [ "title" ],
"query": {
"bool": {
"filter": [
{
"bool": {
"should": [
{
"match": {
"all": {
"query": "example",
"operator": "AND"
}
}
},
{
"match": {
"all.plain": {
"query": "example",
"operator": "AND"
}
}
}
]
}
},
{
"terms": {
"namespace": [
0
]
}
}
]
}
},
"rescore": [
{
"window_size": 1024,
"query": {
"query_weight": 1,
"rescore_query_weight": 10000,
"score_mode": "total",
"rescore_query": {
"function_score": {
"score_mode": "sum",
"boost_mode": "sum",
"query": {
"sltr": {
"model": "20180316-mrmr_enwiki_v1",
"params": {
"query_string": "example"
}
}
},
"functions": [
{
"script_score": {
"script": {
"lang": "painless",
"source": "(_score - params.mean) / params.std",
"params": {
"mean": 1.2,
"std": 0.42
}
}
}
}
]
}
}
}
}
],
"size": 21
}

Event Timeline