lordzardeck Posted March 7, 2009 Share Posted March 7, 2009 How would you do a search without worrying about word order? For example, if a user searched for Exploring Physical, How would I make sure a result like Exploring Creation with Physical? Link to comment https://forums.phpfreaks.com/topic/148354-search-without-care-to-word-order/ Share on other sites More sharing options...
lordzardeck Posted March 7, 2009 Author Share Posted March 7, 2009 And also, I don't want it breaking each word up and searching it separately. I have that, but I get results like Exploring World History which is the exact opposite of the subject the search is targeted to. Link to comment https://forums.phpfreaks.com/topic/148354-search-without-care-to-word-order/#findComment-778851 Share on other sites More sharing options...
GingerRobot Posted March 7, 2009 Share Posted March 7, 2009 Are you searching a database? You'll want to look into full-text searching. Link to comment https://forums.phpfreaks.com/topic/148354-search-without-care-to-word-order/#findComment-778933 Share on other sites More sharing options...
lordzardeck Posted March 7, 2009 Author Share Posted March 7, 2009 yeah I am using a database. Mysql in fact. I think I've heard of full-text searching, but at the time it wasn't what I was wanting. I'll look into that again. That has to do with mysql and not php correct? Link to comment https://forums.phpfreaks.com/topic/148354-search-without-care-to-word-order/#findComment-778976 Share on other sites More sharing options...
lordzardeck Posted March 7, 2009 Author Share Posted March 7, 2009 Is there somewhere I can look more up on it? From what I've read so far, it doesn't look like it helps my problem at all. Link to comment https://forums.phpfreaks.com/topic/148354-search-without-care-to-word-order/#findComment-778985 Share on other sites More sharing options...
lordzardeck Posted March 8, 2009 Author Share Posted March 8, 2009 just wanted to put this back at the top in case someone who could help missed it. Link to comment https://forums.phpfreaks.com/topic/148354-search-without-care-to-word-order/#findComment-779204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.