In a Python script I call a function from rpy2, but I get this error:
rpy2
#using an R module res = DirichletReg.ddirichlet(np.asarray(my_values),al
Using the Elastic search DSL API, you may hit the same error with
s = Search(using=client, index="my-index") \ .query("match", category.keyword="Musician")
You can solve it by doing:
s = Search(using=client, index="my-index") \ .query({"match": {"category.keyword":"Musician/Band"}})