![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Database Database problems or need to ask a question? maybe something to do with sql injections or a database software question. Database topics cover MySQL, PostgreSQL, Oracle, SQL Server or anything else related to databases. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Hello, I want to search for a name in a mysql database. Name-searching can be tricky. Let's say I want to find "Boer". This should match "de Boer", "Jager-Boer" and "Boer-Kok" , but not "Boersma". I tried pattern matching, but this was far too slow. To me this looks like a standard problem, and there is probably a standard solution. Can someone help? Thank you | |||
| Advertisements |
| | #2 | ||
| JD wrote: > Hello, > > I want to search for a name in a mysql database. Name-searching can be > tricky. > > Let's say I want to find "Boer". This should match "de Boer", > "Jager-Boer" and "Boer-Kok" , but not "Boersma". I tried pattern > matching, but this was far too slow. > > To me this looks like a standard problem, and there is probably a > standard solution. Can someone help? FULLTEXT search has a lot to offer, but if pattern matching (%Boer%) is to slow, maybe that's not the solution.. http://dev.mysql.com/doc/refman/5.0/...xt-search.html Grtz, -- Rik Wasmus | |||
| | #3 | ||
| On 2006-05-18, Rik <luiheidsgoeroe@hotmail.com> wrote: [...] > > FULLTEXT search has a lot to offer, but if pattern matching (%Boer%) is to > slow, maybe that's not the solution.. > http://dev.mysql.com/doc/refman/5.0/...xt-search.html Thank you for your pointer. Simple patter matching (%Boer%) is fast enough, but does not meet my criteria (far too many results). More precise matching is really slow. Greetings | |||
| | #4 | ||
| JD wrote: > On 2006-05-18, Rik <luiheidsgoeroe@hotmail.com> wrote: > [...] >> >> FULLTEXT search has a lot to offer, but if pattern matching (%Boer%) >> is to slow, maybe that's not the solution.. >> http://dev.mysql.com/doc/refman/5.0/...xt-search.html > > Thank you for your pointer. Simple patter matching (%Boer%) is fast > enough, but does not meet my criteria (far too many results). More > precise matching is really slow. Could you specify what those criteria are exactly? That would a big help in pointing you to a solution that is usefull. Grtz, -- Rik Wasmus | |||
| | #5 | ||
| On 2006-05-19, Rik <luiheidsgoeroe@hotmail.com> wrote: > JD wrote: >> On 2006-05-18, Rik <luiheidsgoeroe@hotmail.com> wrote: >> [...] >>> >>> FULLTEXT search has a lot to offer, but if pattern matching (%Boer%) >>> is to slow, maybe that's not the solution.. >>> http://dev.mysql.com/doc/refman/5.0/...xt-search.html >> >> Thank you for your pointer. Simple patter matching (%Boer%) is fast >> enough, but does not meet my criteria (far too many results). More >> precise matching is really slow. > > Could you specify what those criteria are exactly? That would a big help in > pointing you to a solution that is usefull. Sorry, my mistake, I have no knowledge of FULLTEXT. I need to study this carefully to see how this can work for me. | |||
| Featured Websites | ||||
|
![]() |
| Tags: name, searching |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| plural name searching | ron1972 | Database | 3 | 07-01-2007 7:00 PM |
| Searching MySQL databases with PHP | Richard Conway | PHP | 1 | 07-01-2007 3:58 PM |
| Searching for Mr. Mobo | Tattooine Tan | Motherboards | 1 | 06-11-2007 1:00 PM |
| SEARCHING FOR A MENTOR IN TORONTO or GTA! | Sherley | Building An Internet Business | 0 | 06-11-2007 12:28 AM |
| Searching for the correct page | MadKad | Search Engines and Directories | 0 | 07-01-2006 2:03 AM |
| Featured Websites | ||||
|