title: Creating a people-centric search with elastic search
body: <p>I currently have a content-centric elastic search (in AWS) index containing articles with the following data:</p>
  
  <pre><code>{article id, title, keywords, summary text, [name 1 [completion rate], name 2 [completion rate]...], creation date}
  </code></pre>
  
  <p>Each person associated with each article has an associated completion rate.</p>
  
  <p>When I search for a keyword names are returned from the top-matching documents. I would like to pivot this to a person-centric model where:</p>
  
  <pre><code>name 1, completion rate {
     { [article id, title, keywords, summary text , creation date],
       [article id, title, keywords, summary text , creation date],
       ...}
  
  name 2, completion rate {
     { [article id, title, keywords, summary text , creation date],
       [article id, title, keywords, summary text , creation date],
       ...}
  </code></pre>
  
  <p>When I do a search I would like to:</p>
  
  <p>_ Match &amp; rank people based on all articles linked to them (search terms should match title, keywords and summary text fields within a person entity)</p>
  
  <p>_ Tune ranking of a person based on their completion rate (people with higher completion rates should rank higher)</p>
  
  <p>_ Tune ranking of a person based on creation date (I want recent articles to contribute more to the overall ranking of a person entity than older articles)</p>
  
  <p>Is this a possible set up? Any ideas on how to do this greatly appreciated!</p>
  
  <p>Max.</p>