Hi,

I have a set of ElasticSearch queries in string format already. I don't 
have to rewrite the queries. How to query ElasticSearch using these strings.
A string query can have this form:

query := `{
        "query":{
            "bool": {
                "should": [
                {"match": {"name": "Rodri"}},
                {"match": {"name": "Massadra"}}
                ]
            }
        }
        }`

I try to use this client https://github.com/olivere/elastic  but I didn't 
find a way to do it.

Thank you any suggestion is welcome
David


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to