Difference between revisions of "search"
m (A2 moved page Query person to Search: plus cohérent avec le titre des pages (même si query est adapté à une requête bdd))
Revision as of 20:16, 21 October 2015
The welcome page of GeneWeb offers query form through which persons (or families) can be queried.
The earliest versions of GeneWeb offered a single typing window, and a radio button to select between:
- first_name last_name or public name or alias
The more recent versions of GeneWeb proposes three typing window, one for each of the three cases above.
The comments below apply to all three cases:
- a first general observation: in supplying first_names or last_names, accents are not mandatory (and are removed by GeneWeb for further processing).
- when supplying a first_name, one can append to it the occurence number if it is known as in
. In this context, supplying the "0" value is meaningful.
- if more than one person or one family matches exactly the first_name and/or last_name, GeneWeb will display a page listing all the alternatives, allowing you to choose the right one based on some other detailed information such as the birth/death date of the spouse name.
- Note that if the person has multiple first_names defined (as opposed to first_name aliases, see the update page), then all first_names must be supplied.
- Note that an exact match is considered valid for a woman with her first_name and her husband's last_name.
- if no person matches exactly the first_name/last_name combination, then the orthographic approximation algorithm of GeneWeb kicks in and performs the following:
- vowels are removed, double consonants are replaced by a single consonant, and the resulting new first_name last_name combination is compared to the names of the base to which the same treatment has been applied.
- Note that this is quite different from some of the approaches taken by some search engines, but "this is it"!!
- After this process, if one or more person is considered a match, then the list possibilities is displayed as in the second case above.
- in the case of a last_name with multiple components (as in Durand Couppel de St Front), GeneWeb will consider a match with each component (taking as a whole the part after the particle (see particles)).
- the same approach is applied when querying for last_name only as supplied by the welcome page.
Comment: in the approach described above, exact matches hide away any other approximation. In order to reveal those possible approximations, a trick consists in creating a voluntary misspelling by adding an extra vowel to the first_name or last_name for instance, or a random particle to the last_name.
For instance, if your base contains persons with last_names Gautier and Gautier Sauvagnac, then querying for
gautier will return only the list of persons and families corresponding to the first while querying for
gautier de will propose the alternative between the two last_names.