initial version based on tianwang tiny search engine