I have an index which in which there is a property name JobProvince and I need to filter the record. I have a string
string str = "Friesland,Gelderland"
I am looking for the record which JobProvince is "Gelderland" and I am trying to do with
q.MatchPhrase(c => c.Field(p => p.JobProvincie) .Query(nq => nq.Terms(t => t.Field(tf => tf.JobProvincie.First()).Terms(JobProvinciefacets.Split(',')))))
but not getting the result. How can I do this, please help.
I get the answer by using
q.MatchPhrase(a => a.Field(af => af.JobCity).Query(searchLocationLowerCase))