Hi everyone,
Thanks for reading.
Here's my problem. I have an array with numbers on each document as such:
Document 1: [1, 2, 3]
Document 2: [1, 4]
Document 3: [6,12,2]
I want to query my documents and find those documents that has subsets of my array: [1, 2, 3, 5, 10]. In this case only document 1 should be matched.
I've seen some ideas/hacks posted in old threads from 2013, but I hope Elastic Search has involved since then and I can solve this in a proper way. The arrays given can be 30-50, so calculating all permutations wont work.
Thanks again for reading - I hope you have some inputs.