Complex Query

(Yogesh Shetty) #1

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


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
To view this discussion on the web visit
For more options, visit

(system) #2