Skip to content

Search

Shoehorn provides full-text search across your entire platform, powered by Meilisearch. Results appear instantly as you type with typo tolerance, synonym expansion, and relevance ranking.

Click the search bar or press / from any page. Results stream in as you type.

Search covers 9 content types:

Type Searchable fields (priority order)
Entities name, description, tags, metadata
Documentation title, search terms, description, content, tags
Users name, username, email, department
Teams name, description, type
Repositories name, full name, description, language, topics
Workflows name, slug, description, tags
Molds name, slug, description, language, tags
Doc Sites title, description, URL

Fields listed first have higher relevance weight. A match on an entity name ranks higher than a match in its metadata.

Search finds results even with misspellings. Words with 4+ characters tolerate 1 typo, words with 8+ characters tolerate 2 typos.

Examples:

  • paymnt finds payment
  • kuberntes finds kubernetes
  • deploymnt finds deployment

Built-in synonyms expand your queries automatically:

You type Also matches
k8s kubernetes, kube
svc service
deploy deployment
repo repository
db database
app application
config configuration
docker dockerhub
git github, gitlab

Additional synonyms are registered per content type. For example, in repositories: gh matches github, gl matches gitlab, bb matches bitbucket.

Results are ranked by:

  1. Word match, more matched query terms rank higher
  2. Typo count, fewer typos rank higher
  3. Proximity, matched terms closer together rank higher
  4. Field priority, match in name ranks above match in description
  5. Sort, user-specified sort order (if any)
  6. Exactness, exact matches rank above prefix matches
  7. Recency, newer items get a boost

Narrow results by type, lifecycle, owner, or tags using the filter panel or query parameters.

Documentation search supports hybrid keyword + semantic matching. When you ask a question-like query (starting with “how”, “what”, “why”, etc.) or use 5+ words, the search engine combines keyword relevance with meaning-based vector similarity for better results.

Terminal window
curl "https://shoehorn.example.com/api/v1/search?q=payment&type=service" \
-H "Authorization: Bearer <token>"
Parameter Description Example
q Search query payment
type Filter by content type entity, doc, user, team, repository, workflow, mold
owner Filter by team payments-team
lifecycle Filter by lifecycle production
tags Filter by tags critical
limit Results per page (default 20) 20
offset Pagination offset 0
sort_by Sort field relevance, date, title, type
Terminal window
curl "https://shoehorn.example.com/api/v1/search/autocomplete?q=pay&limit=5" \
-H "Authorization: Bearer <token>"

Autocomplete combines:

  • Query completions
  • Content-based suggestions
  • Your recent search history
  • Trending searches across the platform

Results are cached per user for 5 minutes.

Entities are indexed automatically when:

  • Created via API, manifest, K8s agent, or Terraform
  • Updated (metadata, annotations, or enrichment changes)
  • Enriched (README fetched, scorecard evaluated, entityFile applied)

The search index rebuilds automatically if it becomes stale. You can check indexing status at:

GET /api/v1/indexing/status

Two rules always apply, whatever else you configure:

  • You only ever see your own tenant’s data.
  • Deleted items stay hidden.

By default, everyone in your tenant can search everything in your tenant. If a service, repository, or document is in your catalog, your colleagues can find it.

That’s usually what you want. A catalog nobody can search isn’t much of a catalog, and a private GitHub repo is still something your own engineers should be able to look up.

If you’d rather people only find what their teams own, switch search visibility to owner_team:

Terminal window
curl -X PUT https://your-shoehorn/api/v1/settings -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"search": {"visibility": "owner_team"}}'

In that mode you see an item only if it’s marked public, your team owns it, or it’s been shared with you directly. Repositories follow their GitHub visibility, so private repos are limited to their owning teams.

Set it back with "visibility": "tenant".

The change takes effect on the next search. Nothing is re-indexed either way, so you can switch back and forth freely.

Tenant-wide is the new default, and it applies when you upgrade. If you were relying on private repositories being hard to find in search, set visibility to owner_team after upgrading to keep the old behaviour.

One thing worth knowing if your teams have changed over time: under owner_team, an item owned by a team that no longer exists can’t be found by anyone, because there’s no membership left to match. Tenant-wide visibility doesn’t have that problem.