I am using the tsv column in the table. In C#, in the LINQ query, I am searching the text like below
var result = (from student in context.Students
where student.Tsv.Matches(EF.Functions.PlainToTsQuery(searchText))
select student.name).ToList();
For example, we have one sentence like "Start to write. Pasting the text or something".
If search full sentence or full word means, it is working.
But If search part of the word means, it is not working.
Eg: In the above sentence, search like past
, some
means, it is not working.
How to achieve it?