Remove duplicate documents from a search in kibana4