Difference between revisions of "search"

From GeneWeb
Jump to: navigation, search
Line 3: Line 3:
  
 
The welcome page of GeneWeb offers query form through which persons (or families) can be queried.
 
The welcome page of GeneWeb offers query form through which persons (or families) can be queried.
The earliest versions of GeneWeb (to be continued ...)
 
  
Persons present in a GeneWeb base may be queried through two main methods: id and names:
+
The earliest versions of GeneWeb offered a single typing window, and a radio button to select between:
* {{c|1=i=1234}} GeneWeb internal id;
+
* ''first_name last_name'' or ''public name'' or ''alias''
* {{c|1=p=first_name;n=last_name}} (exact match);
+
* ''first_name''
* {{c|1=p=first_name;n=last_name;oc=occurence}} if there are several homonyms.
+
* ''last_name''
 +
The more recent versions of GeneWeb proposes three typing window, one for each of the three cases above.
  
The first case is not prone to ambiguity, but is somewhat obscure and non permanent. See the [[links]] page to create permanent links to persons in a GeneWeb base.
+
(insert here two pictures of the GeneWeb interfaces)
  
The last case is also non ambiguous, and will not be discussed further.
+
The comments below apply to all three cases:
  
The interesting case is # 2:
+
* a first general observation: in supplying first_names or last_names, accents are not mandatory (and are removed by GeneWeb for further processing).
  
* a first general observation is required: in supplying first_names and 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 {{c||martin.4}}. In this context, supplying the "0" value is meaningful.
  
* if more than one person matches exactly the first_name/last_name combination, 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.
+
* 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 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.
+
: 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:
 
* if no person matches exactly the first_name/last_name combination, then the orthographic approximation algorithm of GeneWeb kicks in and performs the following:

Revision as of 19:46, 21 October 2015

150px-Geographylogo svg.png Language: English

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
  • first_name
  • last_name

The more recent versions of GeneWeb proposes three typing window, one for each of the three cases above.

(insert here two pictures of the GeneWeb interfaces)

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 gautiera or gautier de will propose the alternative between the two last_names.