Heratio Help Center article. Category: AI & Automation.

Semantic Search User Guide

Overview

Semantic Search enhances your Heratio search experience by automatically expanding your search queries with related terms, synonyms, and alternative spellings. This means you can find more relevant records even when you don't use the exact words stored in the archive.

Example: When you search for "photograph", Semantic Search can also find records containing "photo", "picture", "image", or "snapshot".


Getting Started

When searching, you can enable semantic search from the search box:

  1. Click the gear icon next to the search box
  2. Toggle "Semantic search" on
  3. Enter your search terms
  4. Click Search
[⚙️][Searcharchives...][🔍]►○Globalsearch○SearchRepositoryX›Advancedsearch[✓]Semanticsearch◄EnablehereExpandwithsynonyms

Understanding Search Results

When Semantic Search expands your query, you'll see an information box showing which synonyms were used:

🧠SemanticSearchActiveYoursearchhasbeenexpandedwithrelatedterms:"archive"[repository][depot][recordoffice][holdings]"letter"[correspondence][epistle][missive]ℹ️Disablesemanticsearchinoptionstosearchexacttermsonly.

How It Works

Search Flow

UserenterssearchquerySemanticSearchenabled?YesNoExpandquerySearchexactwithsynonymstermsonly"photo"becomes:photoORpictureORphotographORimageSearchresultsdisplayed

Types of Term Relationships

Semantic Search understands different types of word relationships:

Type Description Example
Exact Synonyms Words with the same meaning photo = photograph = picture
Related Terms Conceptually connected words archive ↔ repository
Broader Terms More general concepts letter → correspondence
Narrower Terms More specific concepts document → manuscript

Administration

Accessing Semantic Search Settings

Administrators can configure Semantic Search from the AHG Settings:

  1. Navigate to Admin → AHG Settings
  2. Click on the "Semantic Search" card
  3. You'll see the Semantic Search dashboard
AHGSETTINGS🎨Theme📧Email🔌Plugins🧠SemanticConfigSettingsManagementSearch🛡️Privacy📚Library🏛️HeritageComplianceSettingsAccounting

Dashboard Overview

The Semantic Search dashboard shows:

🧠SemanticSearch[⚙️Settings]📚TotalTerms🔄Synonyms📊DataSources1,2473,8923/4active[local][wnet][exact][related]QuickActions[ImportLocal][SyncWordNet][ExporttoES][AddTerm]TestQueryExpansion[Enterasearchterm...][🔍Expand]

Quick Actions Explained

Action What It Does
Import Local Loads predefined archival, museum, library, and South African terms
Sync WordNet Downloads synonyms from the WordNet linguistic database
Export to ES Generates synonym file for Elasticsearch
Add Term Manually add a custom term with synonyms

Testing Query Expansion

Before enabling semantic search for all users, test how queries are expanded:

  1. Enter a term in the "Test Query Expansion" box
  2. Click Expand
  3. Review the synonyms that would be added
TestQueryExpansion[manuscript][🔍Expand]Expansions:manuscript[document][text][codex][script][holograph]

Settings Configuration

General Settings

Access settings via the Settings button on the dashboard:

Setting Description Recommended
Enable Semantic Search Master on/off switch On
Expansion Limit Max synonyms per term (1-20) 5
Minimum Weight Relevance threshold (0.0-1.0) 0.6
Show Expansion Info Display synonyms used on results page On
Log Searches Keep history of expanded searches On

Data Sources

Configure where synonyms come from:

Source Description When to Enable
Local Synonyms Curated archival/museum terminology Always
WordNet Large English language database For general vocabulary
Wikidata Heritage and archival concepts For specialized heritage terms
Ollama Embeddings AI-powered similarity Advanced: requires Ollama server
DataSourcesConfiguration[✓]LocalSynonymsUsescuratedarchival,museum,andlibraryterminology[✓]WordNet(DatamuseAPI)FetchessynonymsfromtheWordNetlinguisticdatabase[]WikidataFetchesheritagetermsfromWikidataknowledgebase[]OllamaEmbeddingsUsesAImodelsforsemanticsimilarity(requiresOllama)

Managing Terms

Browsing the Thesaurus

View all terms in your semantic search database:

  1. From the dashboard, click "Browse terms"
  2. Filter by source (Local, WordNet, Wikidata)
  3. Search for specific terms
Terms[AddTerm]Search:[manuscript]Source:[AllSources][Filter]TermSourceDomainSynonymsCreatedarchivelocalarchival8Jan15,2026cataloguelocallibrary5Jan15,2026manuscriptwordnetgeneral6Jan18,2026photographlocalarchival7Jan15,2026townshiplocalsa4Jan15,2026

Adding Custom Terms

Add organization-specific terminology:

  1. Click "Add Term"
  2. Enter the main term
  3. Select the domain (Archival, Museum, Library, South African, General)
  4. Enter synonyms (one per line)
  5. Set the relationship type and weight
  6. Click Save
AddTermTerm:*[dompas]Domain:Relationship:Weight:[SouthAfrican][Exact][0.8]Synonyms(oneperline):passbookreferencebookpassbookpasslawsdocument[Cancel][💾SaveTerm]

Viewing Term Details

Click on any term to see its full details and all associated synonyms:

Term:archiveSource:localDomain:archivalCreated:Jan15,2026Synonyms(8)SynonymTypeWeightSourcerepositoryexact0.95localrecordofficeexact0.90localdepotexact0.85localholdingsrelated0.75wordnetcollectionrelated0.70wordnetregistryrelated0.65localmunimentroomnarrower0.60localrecordscenterexact0.80local

Domain-Specific Terminology

Pre-loaded Term Collections

Semantic Search includes curated terminology for:

Archival Terms

  • fonds, series, file, item, accession
  • provenance, custody, arrangement, description
  • finding aid, inventory, register, calendar

Library Terms

  • catalogue, classification, call number
  • monograph, serial, periodical
  • ISBN, ISSN, bibliography

Museum Terms

  • artefact, specimen, exhibit, collection
  • acquisition, deaccession, loan
  • conservation, restoration, provenance

South African Terms

  • apartheid, township, homeland, bantustans
  • dompas, influx control, Group Areas Act
  • TRC, amnesty, reconciliation

Workflow Examples

Workflow 1: Initial Setup

INITIALSETUPWORKFLOWStep1Step2Step3GotoAHGClickonClickSettings►"Semantic►"ImportSearch"cardLocal"Step6Step5Step4TestaEnableGotosearchwith◄Semantic◄Settings,synonymsSearchconfigure

Workflow 2: Adding Organization-Specific Terms

ADDINGCUSTOMTERMINOLOGYWORKFLOWIdentifyNavigatetoClicktermsusers►Semantic►"AddTerm"searchforSearchTestSaveEntertermexpansion◄theterm◄&synonymsExporttoElasticsearchifusingESsynonymfilters

Workflow 3: Syncing External Sources

SYNCEXTERNALSOURCESWORKFLOWReviewcurrenttermcountondashboardClick"SyncClick"SyncWordNet"forWikidata"forgeneralEnglishheritagetermsWaitforsynctocomplete(checklogs)ReviewnewtermsaddedExporttoElasticsearch

Troubleshooting

Common Issues

Issue Possible Cause Solution
No synonyms appearing Semantic search disabled Enable in search options
Wrong synonyms Weight too low Increase minimum weight in settings
Too many results Expansion limit too high Reduce expansion limit
Missing terms Source not enabled Enable WordNet or Wikidata
Slow searches Too many synonyms Reduce expansion limit

Checking Sync Status

View sync history to diagnose issues:

  1. From dashboard, click "View All" under Recent Syncs
  2. Check for failed syncs (red status)
  3. Review error messages

Best Practices

For Administrators

  1. Start with local synonyms - Import the curated terminology first
  2. Test before enabling - Use the test expansion feature
  3. Set appropriate limits - Start with 5 synonyms per term
  4. Review search logs - See what users are searching for
  5. Add organization-specific terms - Include your unique terminology
  6. Export to Elasticsearch - Keep the synonym file updated

For Users

  1. Use semantic search for discovery - Find related records
  2. Disable for exact matches - When you need precise results
  3. Check expansion info - Understand why results were returned
  4. Report missing synonyms - Help improve the system

Glossary

Term Definition
Synonym A word with the same or similar meaning
Thesaurus A collection of words and their relationships
Query expansion Adding related terms to a search
Weight A score indicating how relevant a synonym is
WordNet A large English linguistic database
Elasticsearch The search engine powering Heratio

Semantic Search works alongside Fuzzy Search (typo-tolerant search) to maximize search coverage. They are complementary:

Feature Semantic Search Fuzzy Search
Purpose Expand vocabulary with synonyms Correct misspellings and typos
How Synonym dictionary relationships Character/sound similarity
Example "photo" finds "photograph", "picture" "photograps" corrects to "photographs"
Activation User toggles on/off Always active on GLAM Browse
Admin setup Import terms, configure sources No configuration needed

Best together: Fuzzy Search corrects your typos first, then Semantic Search expands the corrected query with related terms. For example, "archieves" is corrected to "archives", which is then expanded to include "repository", "record office", and "holdings".

For full details on fuzzy search, see the Fuzzy Search User Guide.


Support

For assistance with Semantic Search:

  • Documentation: This guide and technical manual
  • Issues: Report bugs via your system administrator
  • Training: Contact The Archive and Heritage Digital Commons Group

Document Version: 1.1 Last Updated: February 2026 Author: The Archive and Heritage Digital Commons Group (Pty) Ltd