This is an old revision of the document!
Search
Description
This function enables you search the person and company based on the index we have built.
Input
- Index files
- Keyword
- The keyword you want to search. - Type: string
- Page
- The page that want to display. - Type: int
Return
Company result page
- The number of pages of the results of company, every page contains 10 results.
Person result page
- The number of pages of the results of person, every page contains 10 results.
Company list
- The page M's 10 results.
Person list
- The page M's 10 results.
Totalpage
- Totalpages is the maximum page of(company result page, people result page)