Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P10308
maximum of two separate morelikethis queries
Active
Public
Actions
Authored by
EBernhardson
on Feb 4 2020, 8:46 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F31547840: raw.txt
Feb 4 2020, 8:46 PM
2020-02-04 20:46:10 (UTC+0)
Subscribers
None
{
"_source": [
"namespace_text",
"title"
],
"size": 3,
"query": {
"bool": {
"must": [
{
"dis_max": {
"queries": [
{
"more_like_this": {
"min_doc_freq": 2,
"max_doc_freq": null,
"max_query_terms": 25,
"min_term_freq": 2,
"min_word_length": 0,
"max_word_length": 0,
"minimum_should_match": "30%",
"fields": [
"text"
],
"like": [
{
"_id": "752"
}
]
}
},
{
"more_like_this": {
"min_doc_freq": 2,
"max_doc_freq": null,
"max_query_terms": 25,
"min_term_freq": 2,
"min_word_length": 0,
"max_word_length": 0,
"minimum_should_match": "30%",
"fields": [
"text"
],
"like": [
{
"_id": "22939"
}
]
}
}
]
}
}
],
"filter": [
{
"terms": {
"namespace": [
0
]
}
}
]
}
}
}
Event Timeline
EBernhardson
created this paste.
Feb 4 2020, 8:46 PM
2020-02-04 20:46:10 (UTC+0)
EBernhardson
mentioned this in
T242476: Newcomer tasks: when selecting multiple topics, one topic should not dominate over the others
.
Feb 4 2020, 10:40 PM
2020-02-04 22:40:50 (UTC+0)
Log In to Comment