ignore empty files only on search, not index