Flask+Whoosh try
Flask+Whoosh clean files