I'm doing a Query with the NEST library of Elasticsearch. I have consulted with date range and it works perfectly, but when it comes to a filter for a particular field, it does not return anything.
I would like to filter by one of the Id field. This is the query I'm doing.
var response = client.Search<localino>(s => s
.Index("indice")
.Type("tipoIndice")
.Query(q => q.Term(c => c
.Field(p => p.CampoTabla)
.Value("1")
)));