add search engine code in examples/