common | R Documentation |
common dsl
common( .obj = list(), field, query = NULL, cutoff_frequency = NULL, low_freq_operator = NULL, minimum_should_match = NULL ) common_( .obj = list(), field, query = NULL, cutoff_frequency = NULL, low_freq_operator = NULL, minimum_should_match = NULL )
.obj |
An index object. If nothing passed defaults to all indices, equivalent to
doing e.g., |
field |
Explanation... |
query |
Explanation... |
cutoff_frequency |
Explanation... |
low_freq_operator |
Explanation... |
minimum_should_match |
Explanation... |
## Not run: elastic::connect(errors = "complete") # common query - not working yet # index("shakespeare") %>% common( speech_number <= 5 ) ## common query without DSL x <- '{ "query": { "query_string" : { "default_field" : "text_entry", "query" : "this AND that OR thus" } } }' Search("shakespeare", body = body) body <- '{ "query" : { "common": { "body": { "query": "against" } } } }' elastic::Search('shakespeare', body=body) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.