Fix file name could not be searched if the file was not a text file when using the Bleve indexer (#33959)
Close #33828
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit b956cee06f462c4f34a7911351b7c878ce890725)
authored by