in Education by
I have two long String sequences that are similar: C50FD711C2C43287351892A4D82F44B055F048C46D2C54197AC1D1E921F11E6699C4057C4B93907518E6DCA51A672D3D3E419160DAE276CB7716D11B94D8C3BB2E4A591329B7AF973D17A7F9336342FFAAFD4D and C50FD711C2C43287351892A4D820B5EAC5F048C1E67CAC197AC1D1E921F11C3623C1DCD6493907518E6DCA18CD71016E7FD1160DAE276CB7716D11B94A6B762E4A591329B7AF973D17A7F9336342FFAAFD4D Its distance is 41. I would like to find those strings that are similar to eachother. I started a query like this: GET my_index/_type/_search { "query": { "fuzzy" : { "sequence.keyword": { "value": "C50FD711C2C43287351892A4D820B5EAC5F048C1E67CAC197AC1D1E921F11C3623C1DCD6493907518E6DCA18CD71016E7FD1160DAE276CB7716D11B94A6B762E4A591329B7AF973D17A7F9336342FFAAFD4D", "boost": 1.0, "fuzziness": 50, "prefix_length": 10, "max_expansions": 200 } } } } I tried with sequence.keyword and sequence, the field is of type text and type keyword. However, it did not find the other similar sequence string in my index. Why? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
The answer is pretty simple. The maximum edit distance that is allowed is 2 (as can be seen in the source code for the Fuzziness class You can try with a simpler value, if you index AAAAAA and try to search for AAABBB with fuzziness: 3, you'll get nothing.

Related questions

0 votes
    This question's answers are a community effort. Edit existing answers to improve this post. It is not ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
0 votes
    I am working on a resume database on elasticsearch. there are nested fields. For example, there is a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    Working on a project using sqlServer 2008. EDIT for clarification : table 1 contains 1 field that has to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
0 votes
    What is the feature of ANNs due to which they can deal with noisy, fuzzy, inconsistent data? (a) associative nature ... (d) none of the mentioned Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
0 votes
    Neuro – Fuzzy systems can lead to more powerful neural network? (a) yes (b) no (c) may be (d) cannot be determined Please answer the above question....
asked Aug 23, 2022 in Education by JackTerrance
0 votes
    Compare the First World War and the Second World War with the help of the following points. Points First ... established after the War Please answer the above question....
asked Aug 20, 2022 in Education by JackTerrance
0 votes
    Compare the European Union with ASEAN. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Compare the European Union with ASEAN. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Compare Madhya Pradesh’s charges of telecom companies with that of Manipur and write a blog on it. Pls answer pls help me ! Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Compare Madhya Pradesh’s charges of telecom companies with that of Manipur and write a blog on it. Pls answer pls help me ! Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    Compare Madhya Pradesh’s charges of telecom companies with that of Manipur and write a blog on it. Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    Which of these methods is used to compare a specific region inside a string with another specific region in ... questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    What arithmetic operators cannot be used with strings in Python? a) * b) – c) + d) All of the mentioned...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    What arithmetic operators cannot be used with strings in Python? a) * b) – c) + d) All of the mentioned...
asked Jan 2, 2023 in Technology by JackTerrance
...