-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
I am trying to add a function to my function score using a filter and weight but filter doesn't seem to be in the Lambda notation.
Query<Document>.FunctionScore(fs => fs.Functions( foo => foo.Filter())) //Doesn't exist
Here is the JSON that I am trying to reproduce in ElasticSearch. Any suggestions on how I can accomplish this?
"functions": [
{
"filter": {
"query": {
"bool": {
"should": [
{
"terms": {
"titleid": [
"1056",
"1025"
]
}
}
]
}
}
},
"weight": 10
}
]
Metadata
Metadata
Assignees
Labels
No labels