How to get result Sort by best match | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to get result Sort by best match

i have some resumes data in database i want retrieve those resumes by like operation. i search for a keyword in database if any resume contain that specific keyword multiple times that must be come on first. if i use like operation i got the result sort by date. i want sort by multiple match or best matches

9th Jul 2017, 1:28 AM
Pavan Karumuri
Pavan Karumuri - avatar
1 Answer
0
try regexp_count(gives count of occurrence of a string) or text search. these are available in Oracle. you might have similar functionality in MySQL
13th Jul 2017, 9:27 PM
Gurpreet Singh
Gurpreet Singh - avatar