@(keysArray:scala.collection.mutable.ArrayBuffer[String],name: String, id: String, size:Integer, results: scala.collection.mutable.HashMap[String, scala.collection.mutable.ArrayBuffer[(String,String,Double,String)]]) @import models.IncrementCounter @main("Search Results") { @if(size == 0) {
No results found. Sorry!
}
@defining(new IncrementCounter){c=> @for(index<-keysArray){ @{c.count+=1} @if(c.count==1){ }else{ } @if(c.count==1){ }else{ } @results.get(index).map {list => @defining(new IncrementCounter){ i=> @for(ele<-list){ @if(c.count==1){ @if(i.count<5){ } }else{ } } @if(c.count>1 && list.length<5 ){ } } } } }
IndexID: @index
Rank ID Proximity
}