finish the frame of the search.TODO:get the summary of the html
accept socket should shutdown the socket when send the data to php-cgi completely. But we close the socket, so php-cgi(portal) may be receive the RST before read all the datas. Currently, our socket class does not have the shutdown api, so, we add the end datagrame ,just say Bye
add comments
add test cases
when result set is empty we should also inform Portal
add class file that operate the file use the FILE
add forward_index.index to get the one-one mapping of doc_id to the respond doc_id's off_set in forward.index
I add the last index in forward_index.index to make get the length of file respond to the doc_id more effectily
Can get particiled words from forward.index todo: get summary form particiled words
finish summary, todo: get html data more quickly