I tried something like this. But coul dnot figure out how to add three terms and passing the value
var response =
elasticClient.Count(
s =>
s.Index("consolidated-capacity")
.Type("StageCapacity")
.Query(
q =>
q.ConstantScore(
f =>
f.Filter(
b =>
b.Bool(
m =>
m.Must(
t1 =>
t1.Term(
c => c
.Field(p => p
.Week))))))));
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.