Skip to main content

Advanced search

The Advanced search is a powerful tool to search for entities that match multiple criteria, throughout a genealogy.

en-advanced-search.png

The result list can then be exploited in other Ancestris tools, in particular be positioned on the geographical map, be exported in a specific Gedcom file, be used in the Find/Replace tool, be marked as special entities, or be used for the Information Sheets of Individuals/Families report.

Description

The Advanced search offers two different search modes:

  • Multi-criteria mode
    • Search according to a set of predefined properties
    • Multiple criteria
    • Among the genealogy individuals
    • The result of the search is a list of individuals
  • Property mode
    • Search according to any property
    • Single criteria
    • Among all the properties of the genealogy
    • The result of the search is a list of properties, grouped by entity

 

Toolbar

The toolbar works in the same way for both search modes.

Recherche_Avancée_Barre_Outils.png

Start Search Button

This button launches the search according to the criteria entered in the visible tab, and displays the results underneath.

The number of results found is shown in the upper right corner of the visible pane.

Cancel Search Button

This button stops the search  if it should last for too long.

Clear Search Criteria Button

This button resets the criteria and clears all fields.

The criteria previously entered is kept in the different drop-down menus of each of the search tabs.

Clear Search Criteria History Button

This button clears the history of the drop-down menus. A confirmation request is made before deleting.

Change Settings Button

This button opens the Search Settings panel which lets you to set the following options:

  • Maximum number of results displayed: limits the number of results to the first 'n' found. The default value is 5000
  • The checkbox Case sensitive forces the search to match upper and lower case letters.

 

Multi-Criteria

The Multi-criteria tab searches for individuals according to the predefined criteria displayed.

en-advanced-search-criteria.png

The different criteria are explicit with the four first fields being the last and first names of the searched individual or his/her spouse.

If several criteria are filled in, all conditions must be met.

In the example above, we are looking for all individuals whose spouse's name is "Bouvier", born between 1910 and 1940, and having the "US" letters in their occupation.

If you want to reverse a set of conditions, simply check the "All but" box.

The choice for the criteria family status includes:

  • Married: individuals have been married at least once
  • Multi-Married: individuals have been married at least twice
  • Single: individuals have never been married

By Tag

The By Tag tab searches for all the properties of the genealogy that meet a certain criterion.

en-advanced-search-tag.png

Search value

  • The field is the search criteria. It is a string of characters.
  • The Regular expression checkbox, when checked, asks Ancestris to interpret the search criteria as a search pattern, also called a regular expression. See the examples in the Usage section and check the internet for Regular Expressions.
  • The "..." drop-down menu, located on the left, offers examples of the main regular expressions used.

Search tag

  • The field is the name of the Gedcom property, or tag, on which the search must be carried out.
  • The "..." drop-down menu on the left allows you to choose among frequently used properties.

 

List of results

The list of results is displayed in alternating colors by entity, to better locate the different lines of the same entity, especially for the results of the search by property.

Each result can be clicked. It will display the corresponding entity in the other Ancestris views and editors.

As said at the top of this page, the list is usable in other views and tools.

Usage

The Multi-Criteria search is quite explicit. You have an example at the top of this page. We don't go into more details here.

On the other hand, searching by Property requires a few examples.

Search for a text anywhere

The following example searches for the word "assassinated" in the whole genealogy.

There are 5 properties located in 3 entities that meet the criteria.

en-advanced-search-tag-result.png

Search for a particular name

The following example searches for all names containing the word "John".

In the genealogy, the name of an invidividual is a property registered with the label NAME.

You can find out the name of a label by looking at the Gedcom editor since in this editor each line starts with the name of the label.

The result is 28 properties, in 14 entities.

en-advanced-search-name.png

Search for data localized in a specific tag

For example, if you want to search all media for individuals whose title contains "Bouvier", you would do as indicated below, indicating the full path of the tag INDI:OBJE:TITL by INDI, OBJE, TITL, separated with commas.

fr-advanced-searched-example4.png

You can identify the tag paths using the Gedcom editor.

Search for first names ending in "hn"

As soon as the search requests differs from "contains the characters", it is necessary to use a regular expression.

In computer science, a regular expression is a word that describes a set of words. Regular expressions are also called regex (a word suitcase formed from the English regular expression). Regular expressions are derived from mathematical theories of formal languages from the 1940s.

By clicking on the "..." button you have some basic rules for writing a regular expression.

en-advanced-search-regular-expression.png

  • For example, the word ex-(a?e|æ|é)quo describes all words that begin with "ex-" that end with "quo", and that in between have one of the following 3 groups of letters: "a or not" + e", "æ" or "é". So the words "ex-equo", "ex-equo", "ex-aequo" and "ex-aequo" are included. But the words "ex-equo", "ex-aequo", "ex-aeko", "ex-aequo" are not part of it.
  • Another example if you want to select pure _SOSA numbers from _SOSADABOVILLE numbers: ^[^-]*$ selects all strings that do not include "-".

The following example searches for all first names ending in "hn". The regular expression is written "hn$". And first name matches the GIVN label according to what you see in the Gedcom editor. Click Regular Expression and press Enter.

en-advanced-search-regular-expression-example.png

 

Customization

There are no customization elements in this tool.