This simple tutorial explains How to delete recently opened files in ubuntu 14.04.This tutorial is for beginners.
To delete your history from dash search use the following procedure
Go to System Settings and Open Security & Privacy
Under Files and Applications tab click on Clear Usage Data
You can also turn off the "Record file and Application usage" to prevent system to record your recent files and applications.