> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quivr.thevibecompany.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Core search

> Rank keyword and meaning matches for Quivr’s default search profile.

Search

stable

v1.3.1

Needs Quivr search indexes

[View plugin source](https://github.com/The-Vibe-Company/quivr/tree/main/plugins/core-retrieve) · Plugin ID `core.retrieve` · Plugin API `>=0.23.0 <0.24.0`

Core search ranks matches from the index when you ask a question.

![Core search takes candidates from the index and ranks them for the results list.](https://mintcdn.com/thevibecompany/q5BY1CDLGb0PDo4C/images/diagrams/core-retrieve.png?fit=max\&auto=format\&n=q5BY1CDLGb0PDo4C\&q=85\&s=5a5ad0ab47c3f029673318f39cd81b67)

## What it does

Use Core search for general-purpose ranking. It can match your words, look for related meaning, or blend both. The built-in `default` and `deep` profiles use the same ranking.

## Before you start

Have a collection (Corpus) with searchable documents and an API key with `content:read` and `search:query` on that collection. For meaning search, the collection needs a serving vector space, an index that stores representations of document meaning.

## Enable it

**1. Check the installed profile**

Single Machine, Railway and local dev pin Core search. Check `GET /v0/search/profiles` for `core.retrieve/default` and see which profile has the `default` alias.

**2. Pin Core search on a custom installation**

Run the plugin from `plugins/core-retrieve` using its manifest's run command. Follow [Pin a plugin](https://docs.quivr.thevibecompany.co/operate/manage-plugins.md#pin-a-plugin) to register that manifest and the running plugin's URL. If you run several search plugins, map `default` to `core.retrieve/default` in [search profiles](https://docs.quivr.thevibecompany.co/reference/configuration.md#search-profiles).

## Use it

### Compare search modes

Use the same collection and query from the [search guide](https://docs.quivr.thevibecompany.co/guides/search.md). Set `profile` to `core.retrieve/default` and make three searches, changing only `mode`.

| Mode | What the index looks for |
| - | - |
| `lexical` | Query terms in titles and body text. |
| `semantic` | Passages close to the query in meaning. |
| `hybrid` | A blend of keyword and meaning scores. |

Try a phrase from a title, then a paraphrase. Compare which documents are first and which passages the results show. To tune hybrid search, lower `dense_weight` to give keywords more weight and repeat the same queries.

## Settings

## What it produces

You get one result per matching document across the searched spaces, with its best available passage and an explanation of the search method.

## Limits and troubleshooting

If a collection's vectors are unavailable, hybrid search keeps keyword matches and reports `vectors_unavailable` in `retrieval_profile.degraded`. An explicit semantic search without a serving space returns `422 unsupported_search`. If results are shorter than you requested, check whether `candidate_count` is smaller than your search limit.

## Related plugins

[Newsroom search](https://docs.quivr.thevibecompany.co/plugins/newsroom-retrieve.md) · [HTTP reranker](https://docs.quivr.thevibecompany.co/plugins/http-rerank.md) · [EmbeddingGemma 2](https://docs.quivr.thevibecompany.co/plugins/multimodal-embed.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.