| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Jigal van Hemert | Date: | January 6 2005 8:57am |
| Subject: | Re: Retrieving partial field values | ||
| View as plain text | |||
> Example a (GivenNames): Mary Elizabeth or Marg Elizabeth > Example b (GivenNames): J. W. or I. W. > Example c (Surname): Stotts, Statts or Stutts > > I need to be able to retrieve the following based upon the examples: > > For Example a: > Return Mary Elizabeth where GivenNames begins with M; > Return Marg Elizabeth where GivenNames begins with M; > Return Mary Elizabeth where GivenNames contains the whole word Mary; > Return Marg Elizabeth where GivenNames contains the whole word Marg; > Return Mary Elizabeth where GivenNames=Mary Elizabeth > Return Marg Elizabeth where GivenNames=Marg Elizabeth I'm beginning to think that a form of FULL TEXT search is what you need; take a look at these articles: http://dev.mysql.com/doc/mysql/en/Fulltext_Search.html http://dev.mysql.com/doc/mysql/en/Fulltext_Boolean.html and even query expansion might be usefull in your case (though it might be a bit slow): http://dev.mysql.com/doc/mysql/en/Fulltext_Query_Expansion.html Regards, Jigal.
| Thread | ||
|---|---|---|
| • Retrieving partial field values | Kentucky Families | 5 Jan |
| • Re: Retrieving partial field values | Stephen Moretti | 5 Jan |
| • Re: Retrieving partial field values | Ian Grant | 5 Jan |
| • Re: Retrieving partial field values | Stephen Moretti | 5 Jan |
| • Re: Retrieving partial field values | Kentucky Families | 5 Jan |
| • Re: Retrieving partial field values | Jigal van Hemert | 6 Jan |
| • Re: Retrieving partial field values | Kentucky Families | 6 Jan |
| • Re: Retrieving partial field values | Jigal van Hemert | 6 Jan |
| • Re: Retrieving partial field values | Jigal van Hemert | 6 Jan |
| • Re: Retrieving partial field values | SGreen | 6 Jan |
| • RE: Retrieving partial field values | Andy Eastham | 6 Jan |
| • RE: Retrieving partial field values | Steve Bacher | 6 Jan |
| • Re: Retrieving partial field values | Ian Grant | 6 Jan |
| • Re: Retrieving partial field values | SGreen | 5 Jan |
