Say I indexed something like this:
{
{'l1':[1,2,3,4],'l2':[5,6,7,7]}
{'l1':[1,2,6,6],'l2':[4,3,2,7]}
...
..
{'l1':[1,2,3,24],'l2':[5,6,37,1]}
}
And I have a dictionary as {'l1':[2,3,4,5]}
and I want to find k values of 'l1' which are nearest in the vector space to it, how do I go about this? Is this possible to do in elasticsearch?
I'm using the python API