Complex Query

I recently downloaded and started exploring elasticsearch and went through
search api, I am still trying to figure out what is the best way to phrase
this complex query for eg. what will be the elastic search query look like
for below conditional operators.

(Source = "Crystal" and ReportName = "BOLI.rpt") Or
( (ParameterName = "EffDate" And FieldName = "SourceId") Or
(ParameterName = "Type" and FieldName = "Cusip" ) )

Do i need to take filter route? or can this be done using query

thanks in advance

Cheers
Yogesh

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cc1dcfb6-0fd5-4999-8399-be6e10ae4bc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.