Rapid detection of target bacteria is crucial to provide a safe food supply and to prevent foodborne diseases. Herein, we present an optical biosensor for identification and quantification of Escherichia coli (E. coli, used as a model indicator bacteria species) in complex food industry process water. The biosensor is based on a nanostructured, oxidized porous silicon (PSi) thin film which is functionalized with specific antibodies against E. coli. The biosensors were exposed to water samples collected directly from process lines of fresh-cut produce and their reflectivity spectra were collected in real time. Process water were characterized by complex natural micro-flora (microbial load of >107 cell/mL), in addition to soil particles and plant cell debris. We show that process water spiked with culture-grown E. coli, induces robust and predictable changes in the thin-film optical interference spectrum of the biosensor. The latter is ascribed to highly specific capture of the target cells onto the biosensor surface, as confirmed by real-time polymerase chain reaction (PCR). The biosensors were capable of selectively identifying and quantifying the target cells, while the target cell concentration is orders of magnitude lower than that of other bacterial species, without any pre-enrichment or prior processing steps.