I can easily query for documents that are missing a particular term field, 
however I'd like to free up that space and remove those documents. I've 
tried this with no luck:

DELETE /my_index/pages/_search
{
        "filter" : {
            "missing" : {
                "field" : "sentences",
                "existence" : true,
                "null_value" : true
            }
        }
}


It works fine to find them, but i can't find an easy way to remove them and 
I have about 2million to remove as well.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/c2d41bfb-145d-402e-a5aa-2f0329278bd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to