Does OCR work to search for a certain word within a scanned document?

As the title says.