Skip to main content

Search Engine

The Search Engine page (/admin/se/instance) manages the search backends that power Semantic Navigation Sites. It is accessible from the Enterprise Search section of the sidebar.

Each Search Engine instance is a configured connection to a search backend. Semantic Navigation Sites bind to a specific instance when their cores (collections) are created. Turing ES supports three backends via a plugin architecture: Apache Solr (recommended), Apache Lucene (embedded), and Elasticsearch.


Instance Listing

The page displays all configured instances as a grid of cards (title and description). Use the "New" button to add an instance. When no instances exist, a blank state guides you to create the first one.


Create / Edit Form

General Information

FieldRequiredDescription
TitleDisplay name for this instance — shown in SN Site dropdowns
DescriptionFree-text notes about this instance

Connection Settings

FieldRequiredDescription
VendorBackend type: SOLR, LUCENE, or ES
Endpoint URLConnection URL for the backend service

Default endpoint URLs per vendor:

VendorDefault Endpoint URL
SOLR (Apache Solr)http://localhost:8983/solr
LUCENE (embedded Apache Lucene)/data/turing/lucene
ES (Elasticsearch)http://localhost:9200

Instance Detail Pages

After creating an instance, its detail page exposes three navigation sections.

Settings

Editing form for all fields listed above, plus a Delete instance button. An instance cannot be deleted if any SN Site cores are still using it.


Cores (Collections)

Manages the search indices — called cores in Solr terminology — within this search engine instance. Each Semantic Navigation Site locale maps to one core.

Core Listing

The list shows all cores found in the connected backend:

ColumnDescription
NameCore identifier (e.g., my-site_en_US)
DocumentsNumber of indexed documents (numDocs) reported by the engine
SitesBadges showing each SN Site and locale using this core, with a country flag for quick recognition

Cores are grouped by locale pattern: {base}_{lang}_{COUNTRY} (e.g., product-docs_pt_BR). A search/filter field at the top narrows the list by core name.

Core Actions

ActionDescription
Delete corePermanently removes the core and all its indexed data. Blocked if the core is in use by any SN Site — the UI shows which sites and locales are preventing deletion.
Clear documentsErases all indexed documents from the core without removing the core itself. Useful for a clean re-index without reconfiguring site associations.

Create a New Core

FieldRequiredDescription
Name / Name PrefixCore name or prefix
LocaleLanguage and country (e.g., en_US, pt_BR)
Append locale to nameToggle — when enabled, the locale is automatically appended to the prefix, generating the canonical name (e.g., prefix my-site + locale en_USmy-site_en_US)

A name preview shows the final core name as you type, before saving.

Naming convention

Use the {site-name}_{lang}_{COUNTRY} pattern consistently. This makes it easy to identify which site and locale each core belongs to when browsing multiple instances.


System Information

Live monitoring panel for the connected backend:

ItemDescription
Status badgeUP (green) or DOWN (red) — real-time connectivity check
Engine versionSolr or Elasticsearch version string
Lucene versionUnderlying Lucene library version
Operating systemOS name and version of the engine host
Java versionJVM version running the search engine
JVM memoryHeap usage reported by the engine
Other propertiesAdditional dynamic properties returned by the engine's status API

Plugin Architecture

Turing ES uses a plugin architecture to support multiple search backends behind a unified TurSearchEnginePlugin interface. The active plugin is resolved at runtime based on the vendor configured per instance. If a vendor is unrecognised, the factory falls back to Solr.

For the full interface reference — all methods across search, index management, schema management, and document operations — and instructions on implementing a new backend, see Developer Guide → Search Engine Plugin Architecture.


Protections

ScenarioBehaviour
Delete core in useBlocked — the UI displays a list of SN Sites and locales currently using the core
Delete instance in useShould be avoided — removing an instance with active sites will break indexing and search for those sites

Repository-level caching is enabled for search engine instances to avoid repeated database reads during high-frequency searches.


PageDescription
Administration GuideFull console reference
Semantic NavigationHow SN Sites use cores and search engines
Architecture OverviewSolr, Elasticsearch, and Lucene in the system architecture
Configuration ReferenceSolr and Elasticsearch timeout settings in application.yaml