Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P9522
(An Untitled Masterwork)
Active
Public
Actions
Authored by
EBernhardson
on Nov 4 2019, 6:26 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F30988196: raw.txt
Nov 4 2019, 6:26 PM
2019-11-04 18:26:03 (UTC+0)
Subscribers
None
{
"_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
EBernhardson
created this paste.
Nov 4 2019, 6:26 PM
2019-11-04 18:26:03 (UTC+0)
Log In to Comment