public void removeDocument(Query query){
  removeDocuments(Arrays.asList(new Query[]{query}));
}

public void removeDocument ( Query query ) { removeDocuments ( Arrays . asList ( new Query [ ] { query } ) ) ; }
removes the index of the document
