I need to search for the words in string (document) by their similarity to examples. For example I have string "I love the container with no. SADB21235236" and I have ref in elastic "SREB125136767". Then I need to find SADB21235236
I know that I can do vector search previously splitted string by words, but there are two little problems:
- My strings are extremely large
- It can be not one word, but a few words together, and to check every word... then pair... then tripple... I waste 3 times much time
I hope there is a functions that can help me
- Why I store examples, but not documents vectors itself in elastic?
My task is to find a string most similar to examples from document, but not find what document is the most similar to word. Basically it is word extraction from documents by references