Filter over record... its posible

It's posible to filter by record field like cliente.cif i dont have results
with this query but i have results if i put on a query ... thx

POST /EMPRESA-1/_search

{
"from" : 0,
"size" : 500,
"query" : {
"filtered" : {
"query" : {
"bool" : {
"minimum_should_match" : "100%"
}
},
"filter" : {
"and" : {
"filters" : [ {
"term" : {
"idempresa" : 1
}
}, {
"term" : {
"idorganizacion" : "1"
}
}, {
"term" : {
"tipo" : "emi"
}
}, {
"term" : {
"cliente.cif" : "XXXXXX"
}
} ]
}
}
}
},
"explain" : true,
"fields" : [ "idfactura", "numero", "serie", "tipo",
"centro.denominacion", "cliente.razonsocial", "cliente.idcliente",
"proveedor.razonsocial", "proveedor.idproveedor", "tieneNotas",
"tieneAttachs", "total", "fecha", "peso", "filepath", "filename",
"firmada_ok", "leida", "firmada", "enviada", "idmoneda" ],
"sort" : [ {
"fecha" : {
"order" : "desc"
}
} ]
}

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4ae22819-1eac-434d-9f87-9cf431131987%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.