removed default_field, so that all text fields are queried by default (this also includes any coder comments!)

master
Erik de Vries 2 years ago
parent 9ae2866c41
commit fcdffb6f58

@ -26,7 +26,6 @@ query_string <- function(query, fields = F, random = F, default_operator = "AND"
"bool":{ "bool":{
"filter": [{ "filter": [{
"query_string" : { "query_string" : {
"default_field" : "text",
"query" : "',query,'", "query" : "',query,'",
"default_operator": "',default_operator,'", "default_operator": "',default_operator,'",
"allow_leading_wildcard" : false "allow_leading_wildcard" : false
@ -48,7 +47,6 @@ query_string <- function(query, fields = F, random = F, default_operator = "AND"
"bool":{ "bool":{
"filter": [{ "filter": [{
"query_string" : { "query_string" : {
"default_field" : "text",
"query" : "',query,'", "query" : "',query,'",
"default_operator": "',default_operator,'", "default_operator": "',default_operator,'",
"allow_leading_wildcard" : false "allow_leading_wildcard" : false

Loading…
Cancel
Save