title: Query nearest neighbors of a point in Elastic Search
body: <p>I want to index points like:</p>
  
  <p>(1,1,1,1,1,0,0,1,0,1,1,0)</p>
  
  <p>and then retrieve the k nearest neighboors.</p>
  
  <p>I'm not finding that functionality in Elastic Search REST api, anyone knows how to add and query n-dimensional points using Elastic Search REST api or the Elastic Search java client? (I can't use Lucene because it has not a REST api). </p>
  
  <p>Thanks.</p>