Joseph Witchard
01-10-2010, 05:05 AM
What makes a good search form? Is it just a matter of letting a user search for a search term and use SQL LIKE to the title, tags, and post body? Or is there more I need to be aware of and take into account?
|
||||
|
View Full Version : Resolved What makes a good search form? Joseph Witchard 01-10-2010, 05:05 AM What makes a good search form? Is it just a matter of letting a user search for a search term and use SQL LIKE to the title, tags, and post body? Or is there more I need to be aware of and take into account? fail 01-10-2010, 07:33 AM Really depends what and where you search. A good search is a search that gives an output which is not too broad and not too limited. It's should also not be too difficult to formulate. Rebbu 01-10-2010, 08:10 AM http://www.sitepoint.com/forums/showthread.php?t=366485# This is a pretty good post about ordering results by relevance. You can assign a custom 'weight' to each field. This would probably be a more advanced feature, though. JAY6390 01-10-2010, 11:34 AM Allow users to search across different fields, but also have the ability to select specific fields also, and narrow their searches with extra parameters. Also allowing different sort methods never hurts either met 01-10-2010, 12:10 PM http://www.google.com makes a good search engine. "borrow" their ideas :D JAY6390 01-10-2010, 12:11 PM Indeed it is lol :D Joseph Witchard 01-10-2010, 10:18 PM http://www.google.com makes a good search engine. "borrow" their ideas :D Their "ideas" are a little more than I can implement at this stage in my learning career:p http://www.sitepoint.com/forums/showthread.php?t=366485# This is a pretty good post about ordering results by relevance. You can assign a custom 'weight' to each field. This would probably be a more advanced feature, though. How do you do something like that using variables? It's a nice example, but I really don't understand how it would work based on the fact that the user could enter in anything. oesxyl 01-11-2010, 09:34 PM Their "ideas" are a little more than I can implement at this stage in my learning career:p How do you do something like that using variables? It's a nice example, but I really don't understand how it would work based on the fact that the user could enter in anything. simple text search, you can start from here: http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html something more complex: http://search.carrot2.org/stable/search http://project.carrot2.org/download-search-plugins.html best regards Joseph Witchard 01-12-2010, 02:57 AM Very interesting. You've all given me a lot of ideas to consider. Thanks:) |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum