mysql fulltext search searching simple words like "part a" -


i building database store answers of questions, answer, tag, tagmap, 3 tables. answer record can have multiple tags used searching. tagmap linking answer , tag. application lets user input string search, e.g. "2014 math part a". used explode in php split string array, make sql statement, keyword like. doing , records returned. proper way search corresponding answer records. sorry english!

you should ignore inputs short, eg less 3 chars. awould ignored aaa search for. should exclude common words "with no meaning" the in english or der, die, das in german.

so if user enters 2014 math part a search 2014, math , part.

also should think giving user possible select tags reduce amount of answers in search keywords before "expansive" like %keyword%search.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -