.spark.sql.DataFrame">DataFrame</span></span>, <span name="k">k: <span class="extype" name="scala.Int">Int</span></span>, <span name="keepKeyUriColumn">keepKeyUriColumn: <span class="extype" name="scala.Boolean">Boolean</span></span>)</span><span class="result">: <span class="extype" name="org.apache.spark.sql.DataFrame">DataFrame</span></span>
      </span>
      
      <p class="shortcomment cmt">Limits the number of presented nearest neighbors and orders the results</p><div class="fullcomment"><div class