M
M
misc12014-09-22 16:02:01
PHP
misc1, 2014-09-22 16:02:01

How to inflect words when searching?

Hello. There is video hosting, now we use a simple SQL search query for search. But there was a problem - the name of the video is "my cat", and the user enters "my cats" in the search, and then the result is not shown. How to make word declension through php/sql and not full match to letters (MY CAT -> MY CATS)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Skogorev, 2014-09-22
@misc1

sphinxsearch.com

D
Dmitry Baibukhtin, 2014-09-26
@PiloTeZ

You can cut off the end of the word and search already in this form

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question