protected void Page_Load(object sender, EventArgs e)
 {
     DotNet.Search.SearchEngine searchEngine=new SearchEngine(true);
     searchEngine.CreateIndex();
     int resultCount = 0;
     searchEngine.Search(string.Empty, "神舟", 10, 1, out resultCount);
 }
        protected void Button1_Click(object sender, EventArgs e)
        {
            DotNet.Search.SearchEngine searchEngine = new SearchEngine(false);

            int resultCount = 0;
            if(!string.IsNullOrEmpty(TextBox1.Text))
            {
                searchEngine.Search(string.Empty, TextBox1.Text, 10, 1, out resultCount);
            }
        }