I am using Solr 7.6 with the document structure is as follows:
{
"source_ln":"en",
"source_text":"the sky is blue",
"target_ln":"hi",
"target_text":"आसमान नीला है",
},
{
"source_ln":"en",
"source_text":"the sky is also called the celestial sphere",
"target_ln":"hi",
"target_text":"आकाश को आकाशीय क्षेत्र भी कहा जाता है",
}
All the fields are defined with the StandardTokenizerFactory tokenizer.
When I query "source_text":"the sky",
The result set should contain the first document only.
In the second document the field "source_text":"the sky is also called the celestial sphere" contains 8 terms and the query field "source_text":"the sky" contains the 2 terms only, So the at least 50% match criteria is not fulfilled and hence 2nd document would not be in the result set.
Is there any way to get the documents matching at least 50% of the query field terms/tokens?
Thanks in advance.