Closed nancyzhu24 closed 6 years ago
@nancyzhu24 can you share your sessionInfo()
plz
Try
mylist <- dput(jsonlite::fromJSON(
'{
"query": {
"bool": {
"must": [
{
"match": {"play_name": "henry"}
},
{"match": {"speaker": "King"}
},
{
"match":{
"text_entry":"no"
}
}
]
}
}
}', FALSE))
mylist
closing due to no response
I am wondering how I can translate a bool query in the body into list form? For example for the following code:
Also once in the list form, can I use Search as part of a function in R?