Airgentic Help
The AI Search Configuration Assistant on Search Configuration helps admins draft or refine search categories and search.conf — the descriptor that controls indexed fields, filters, scopes, result cards, and search UI behaviour.
The assistant is evidence-driven: it reviews your current configuration, optional reference website URL(s), and your instructions, then returns a proposal for review. Nothing is saved until you click Apply proposal.
The assistant can propose a combined category/search bundle, including:
| Area | Examples |
|---|---|
| Categories | Durable URL, page, or metadata mapping rules such as People for /people/ URLs |
| Fields | New keyword, date, hierarchy, or text fields when there is evidence from HTML metadata, JSON-LD, URL patterns, or existing category data |
| Filters | Enabling facets on existing or new fields |
| Scopes | Adding or adjusting search tabs, scope filters, visible tabs, default sort, and scope-specific facets |
| Result cards | Choosing built-in layouts such as media_card, compact, or tile_card, and modest badge changes |
| UI / API flags in the descriptor | Search theme, overlay template, Ask tab, AI answer, chat agent, and backend search API enablement when explicitly requested |
The assistant is conservative by design:
service.conf. Apply proposal writes approved category_proposals into ingest.conf and updates search.conf together — you should not paste category rules by hand.page_type with no active or proposed category are treated as orphans and must be fixed (paired with category rules) or removed before Apply is enabled.auto_mappings.yaml remain available for review.Some descriptor changes can trigger reprocessing or reindexing:
| Change | Typical impact |
|---|---|
| Adding a new field with HTML/XPath/JSON-LD extraction | Usually requires filter HTML processing so values are extracted during crawl |
| Adding or changing category rules | Requires indexing so documents receive the new page_type values |
| Renaming a field or changing a field type | Can require a full reindex because indexed data no longer matches the schema |
| Changing result-card field references or scope filters that depend on indexed values | May require reprocessing depending on the change |
| Scope-only or UI-only changes | Often need no reindex, but you should still preview search after applying |
The assistant shows:
Review these sections carefully before applying.
Examples that work well:
Examples to avoid unless you intend a larger change:
style.css, not in search.conf.You usually need reprocessing when the assistant adds or materially changes indexed field definitions, extraction rules, or category mappings.
You usually do not need reindexing for:
page_type valuesIf Apply queues background jobs, Airgentic will email the applying admin when those jobs complete.
When your instructions list category names with URL or path patterns (one category per block), the assistant enters category bootstrap mode:
Example input:
People
/faculty
-profile-page
Programs
programs-of-study
/undergraduate-studies/
If you omit categories from the prompt, the assistant may still propose rules when scopes or site evidence require them, but it will not run bootstrap mode.
A scope that filters on page_type: SomeCategory is only valid when SomeCategory exists as:
ingest.conf, orcategory_proposal in the same review bundle.If a prior apply left scopes in search.conf without matching ingest rules, the assistant treats them as orphan scopes. It must either:
category_proposals, orUntil the bundle is valid, Apply proposal stays disabled.
After a successful apply with category proposals, Airgentic writes both ingest.conf and search.conf, then queues indexing so documents receive the new page_type values.
| Symptom | Likely cause | What to do |
|---|---|---|
| Apply proposal is greyed out | Validation failed — often orphan scopes without category proposals | Re-run with full category list and URL patterns, or remove orphan scopes from the current search.conf |
Validation mentions page_type not active or proposed |
Scope references a category with no ingest rule | Add a category_proposal for that title or remove the scope |
| Category dry-run shows 0 sample matches | Rule may be too narrow, or the index has no matching URLs yet | Check patterns against real URLs; expect matches after indexing once rules are applied |
| Dry-run says skipped (no indexed samples) | Elasticsearch evidence could not be loaded | Apply may still work; verify rules manually against sample URLs |
| Warning lists categories from your instructions without proposals | Partial category bundle in bootstrap mode | Re-run or edit instructions so all listed categories get rules |
| Warning about removed orphan scopes | Deterministic cleanup removed scopes that lacked proposals | Re-run with rules for those categories if you still want those tabs |
When you click Apply proposal:
search.conf is always updated.ingest.conf is updated only when the proposal includes category_proposals.ingest.conf or search.conf changed meanwhile, apply is rejected and you must re-run.