Hello, i am using NEST to query Elastic from my C# app and was wondering if there was a way to pass in a list of string to the term query?
I currently have something similar with SOLR (SolrQueryInList("FIELDNAME", array of terms)
I am currently doing this
var result = client.Search(s => s
.Query(q => q
.Term(p => p.createdby, "USERID1") || q.Term(p => p.createdby, "USERID2") || q.Term(p => p.createdby, "USERID3"))
I would rather pass in a list of users since i have quite a few to pass into my query.
Is this possible?