Close
dtSearch Engine API for .NET Framework 2.x-4.x 2024.01
dtSearch::Engine::FileInfoFlags Enumeration
public enum FileInfoFlags { fiDocumentOK = 0x0000, fiEncrypted = 0x0001, fiEmpty = 0x0002, fiContainer = 0x0004, fiBinary = 0x0008, fiCorrupt = 0x0010, fiPartiallyEncrypted = 0x0020, fiPartiallyCorrupt = 0x0040, fiOutOfMemory = 0x0080, fiOpenFailed = 0x0100, fiFilteredBinary = 0x0200, fiImageOnly = 0x0400 }
Members
Description
fiDocumentOK
The document was successfully indexed.
fiEncrypted
The document is encrypted.
fiEmpty
The document contains no text.
fiContainer
The document is a container.
fiBinary
The document has an unrecognized file format.
fiCorrupt
The document has a recognized file format but is corrupt.
fiPartiallyEncrypted
A portion of the document is encrypted.
fiPartiallyCorrupt
A portion of the document is corrupt.
fiOutOfMemory
There was insufficient memory to process the document.
fiOpenFailed
The document could not be opened due to a file open failure.
fiFilteredBinary
The document is in an unrecognized format and is being indexed using the binary filtering algorithm.
fiImageOnly
The document contains images without text, other than metadata and annotations. This flag can be used to detect image-only PDF files, but it is not a perfect indicator because a file could need OCR and still have some text in it. For example, a PDF file may have one page with text and 10 pages of scanned images, or it may have scanned images and a bit of text (but not the text of the scanned images) on each page.

Values for dtsFileInfo and dtsIndexProgressInfo.fileFlags (C++) and IndexFileInfo (.NET, Java)