This is an old revision of the document!



Return a list of person whose name is related with person_name


Parameter Necessity Type Description
person_name required string person's name as keyword
required_page optional int required page, 1 as default, every page contains 10 results


Parameter Type Description
person list list a list of person, contains name, pid, current company, current position
total page int the total page of search result


  1. Create index of person, using 2 fields 【p_name】: Person's name. 【p_com】: Person's current company and companies he worked in
  2. Use the Index, search the keyword in MultiFieldQueryParser {p_name,p_com}
  3. Return the list of pid.

Tips: Traditional Chinese will be converted to Simplified Chinese at first.

Related Work

  1. Lucene, Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.
projs/clans/docs/getrelatedpeople.1392019822.txt.gz · Last modified: 2014/02/10 16:10 by crlwinner     Back to top