The other thing we could do is leave the percolator() method but have it simply call through to index(). We certainly shouldn't repeat ourselves like we are doing as it stands. We can even avoid repeating the @es_kwargs decorator and associated parameters (assuming they still apply) by doing what we did in delete_all_indexes().