Omega expansion

The omega code for query expansion.