Skip to content

[bug] With "Match by meaning" on, multi-word searches return every movie and series in the library #3963

Closed

Description

@kylemello

What happened

With Match by meaning as well as words on, I ran four two- and three-word searches to the end on the Search page, and each loaded 870 items. In the three I checked for duplicates, all 870 were distinct. That is every movie and series in my library: the Search status panel lists 709 movies and 161 series. With the setting off, the three two-word searches returned 0, 7 and 1 items.

Model Citizen loaded 870 items on all 3 runs I scrolled to the end with the setting on. One-word searches still return short result lists.

Search Words In my library Setting on: mode, library items Setting off: mode, library items
Conclave 1 no keyword, 0 keyword, 0
Paddington 1 no keyword, 1 not run
Model Citizen 2 no hybrid, 870 keyword, 0
past lives 2 no hybrid, 870 keyword, 7
Minority Report 2 yes hybrid, 870, with that title first keyword, 1 (that title)
The Wild Robot 3 no hybrid, 870 keyword, 803
  • How I measured: mode is search_diagnostics.mode from the page's POST /api/v2/catalog/query responses. The item count is what had loaded once scrolling stopped loading more. Each search was typed into the search box after a fresh page load, except Paddington, which a script entered into the box. I changed the setting by saving it and restarting Silo.
  • Duplicates: Model Citizen, Minority Report and The Wild Robot each had 870 distinct content_ids. I didn't check past lives.
  • One-word searches ran in keyword mode even with the setting on.
  • Matching words: for Model Citizen with the setting on, 1 of the 870 titles contains "model" or "citizen". The top of the list is fine; with the setting on, the exact Minority Report match came first. The problem is everything after the matches.
  • The Wild Robot with the setting off is a separate question and not part of this report: 792 of the 803 items contain "the" in the title, overview or keywords (see Technical notes).

Impact: library results come first, so the "Request to add" section, which lists the title I want to request, comes only after every library result has loaded. With the setting on, its heading sat about 43 window heights down (1282 px window) for both Model Citizen and The Wild Robot. With the setting off, it sat less than one window height down for Model Citizen, past lives and Minority Report, and 40 down for The Wild Robot. I'm describing this as the impact; I'm not asking here to change the order of the two sections.

Steps to reproduce

  1. Set up meaning-based search:
    • Search engine: Meilisearch (SILO_SEARCH_PROVIDER=meilisearch).
    • Admin > Settings > AI Services > Embeddings: OpenRouter, openai/text-embedding-3-large.
    • Admin > Settings > Search: Match by meaning as well as words on, When a search has several words set to "Drop trailing words until something matches", and under Advanced, Meaning-based share of results 0.50.
    • Search status should show meaning-based search Ready, vector coverage 100%, and compressed vectors Enabled. I didn't change the compressed vectors setting, and the Search settings page has no control for it.
    • Requests on, with a request router plugin installed. I'm signed in as the server admin.
  2. Load the Search page fresh, leave the type filter on Movies & Series, and type Model Citizen.
  3. Scroll down until no more results load. The page doesn't keep every card on screen, so check the POST /api/v2/catalog/query responses in the browser's network tab instead of counting cards. Expect search_diagnostics.mode hybrid, and as many distinct content_ids as Search status lists movies plus series.
  4. Reload the page and search for Conclave (one word). Expect mode keyword, only items that match, and "Request to add" at the top.
  5. To compare with the setting off, switch Match by meaning as well as words off, save, restart Silo, and repeat step 2. Expect mode keyword, no library items (in my library), and "Request to add" at the top.
    • Turning the setting back on needs another restart.
    • Silo rebuilt the index after each change. When I checked within a minute of the second restart, meaning-based search was Ready with 100% coverage.

Expected behavior

A multi-word search should return items that match the words, plus items whose descriptions are similar in meaning. It shouldn't return every movie and series. The setting's description says meaning-based matching "Also matches items whose description means something similar". Model Citizen returns no library items when the setting is off, so I'd expect meaning-based matching to add a few similar items, not all 870.

Silo version / commit

Build 2112 · 84dbfe1 (ghcr.io/silo-server/silo-server:build-2112, sha256:a2e0694353dd566dcf328be2e558dd32d40c8b91b2fb401c49f2de1911de688a)

Deployment

Kubernetes, with Meilisearch getmeili/meilisearch:v1.56.2.

Area

Search

Clients affected

  • Web UI
  • Android
  • iOS/tvOS/macOS
  • Jellyfin-compat client (Infuse, Findroid, ...)
  • Other/not client-specific

Client app and device

Microsoft Edge 157 (Chromium 157) on Windows. The browser reports platformVersion 19.0.0, which is Windows 11.

Media and playback details

N/A

Diagnostics report reference

None

Relevant logs

Both blocks keep only the search requests: getCatalogSearchCapabilities, listPeople, searchRequestMedia and queryCatalogItems. Other lines from the same seconds are left out: artwork fetches, the web app's admin polling, page-setup calls, and unrelated playback activity. The kept lines are unchanged.

Meilisearch logged no warnings or errors during any of these runs. Silo logged no warnings or errors about search, Meilisearch or embeddings.

Setting on: an earlier run of the same search (Model citizen, 19:48:40 to 19:49:09), scrolled to the end, with 15 queryCatalogItems pages.

time=2026-11-10T19:48:40.176-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=04a5706517262941b14e5603 api_major=2 operation_id=getCatalogSearchCapabilities method=GET path_pattern=/api/v2/catalog/search/capabilities status=304 status_class=3xx error_code=none auth_class=session duration_ms=4 body_bytes=0 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:40.222-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=e0d381dd8aa868390c72407a api_major=2 operation_id=listPeople method=GET path_pattern=/api/v2/catalog/people status=200 status_class=2xx error_code=none auth_class=session duration_ms=12 body_bytes=13 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:40.279-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=fd5b775eed10f839e4debbce api_major=2 operation_id=searchRequestMedia method=GET path_pattern=/api/v2/requests/search status=200 status_class=2xx error_code=none auth_class=session duration_ms=49 body_bytes=5271 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:40.384-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=8051795f631e19b36d370183 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=211 body_bytes=111229 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:43.166-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=1bcf5fbd4aa211465635d7a6 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=30 body_bytes=110486 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:45.115-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=100710df2554ae94b4667c1e api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=35 body_bytes=113544 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:47.151-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=45ac4c4acfc3123081810f54 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=36 body_bytes=113213 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:49.134-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=49120227e2fda815eaf942a7 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=38 body_bytes=110224 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:51.150-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=aafefe738ba83cc7fe9c0967 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=34 body_bytes=111947 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:53.125-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=e654d3707a971e6abd02c2ab api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=29 body_bytes=112388 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:55.094-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=70ffe2c77cd907c13e83a3eb api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=26 body_bytes=112281 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:57.096-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=571331ca61631f87c6b88b71 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=33 body_bytes=111855 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:48:59.067-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=ab53c65691b95675cc832c5b api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=40 body_bytes=112493 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:49:01.024-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=352455d87d6dfc0102456ec3 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=34 body_bytes=110893 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:49:03.003-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=e63c68046e6aa6980d2c6c89 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=28 body_bytes=111941 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:49:04.995-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=8df431303932e7800c827b44 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=23 body_bytes=109361 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:49:06.982-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=42425a252041d2fc4cc60873 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=31 body_bytes=113932 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T19:49:09.245-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=6c26f9c4990a4c999c231988 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=21 body_bytes=55747 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1

Setting off: Model Citizen at 21:42:51, with one queryCatalogItems call and no library items.

time=2026-11-10T21:42:51.806-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=aaf9e11a15378c11fcee1cd8 api_major=2 operation_id=getCatalogSearchCapabilities method=GET path_pattern=/api/v2/catalog/search/capabilities status=304 status_class=3xx error_code=none auth_class=session duration_ms=5 body_bytes=0 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T21:42:51.811-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=60dbbffe8918b2ebf12a2e86 api_major=2 operation_id=queryCatalogItems method=POST path_pattern=/api/v2/catalog/query status=200 status_class=2xx error_code=none auth_class=session duration_ms=10 body_bytes=596 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T21:42:51.836-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=d1ac62d22571743ff63c62c5 api_major=2 operation_id=listPeople method=GET path_pattern=/api/v2/catalog/people status=200 status_class=2xx error_code=none auth_class=session duration_ms=13 body_bytes=13 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1
time=2026-11-10T21:42:51.922-05:00 level=INFO msg="apiv2 request" component=apiv2 request_id=7232f16909a3f3fddb38ce2a api_major=2 operation_id=searchRequestMedia method=GET path_pattern=/api/v2/requests/search status=200 status_class=2xx error_code=none auth_class=session duration_ms=123 body_bytes=5271 client_ip=10.11.12.100 client_name="Silo Web" client_version=0.0.1 user_id=1

Technical notes

  • What build 2112 sends to Meilisearch (commit 84dbfe1):

    • Meaning-based search is used only when the query has 2 or more terms: meilisearchShortHybridMinTerms = 2, checked in shouldUseSemanticSearch.
    • The hybrid request is the keyword request plus vector and hybrid: {embedder, semanticRatio}. The request type has no rankingScoreThreshold or other cutoff.
    • For exactly 2 terms, the keyword part uses matchingStrategy: all on title, original_title, sort_title, title_variants and overview (matchingStrategyForRequest, attributesToSearchOnForRequest). A direct Meilisearch query with those parameters returns 0 for model citizen and 7 for past lives, the same counts Silo returned with the setting off.
    • With 3 or more terms, the keyword part keeps the configured last strategy on all searchable fields. No stop words are configured, so the wild robot can relax down to the, which fits 792 of the 803 items containing that word. A plain Meilisearch matchingStrategy: last query also returns 803.
  • Where the 870 come from (inference from the code and the setting-off result): the keyword side of the hybrid Model Citizen search is the same query that returns 0. So the 870 items come from the meaning-based side.

  • Guess, not verified: with no rankingScoreThreshold, the meaning-based side returns every document that has a vector. 870 documents have one, the same number as the movies and series. Binary-quantized vectors may also make similarity scores too coarse for a cutoff to separate them.

  • Quick search (Ctrl+K) runs the same hybrid search with limit: 8. For Model citizen with the setting on:

    • The response had 8 items, total: 9, mode: hybrid and semantic_used: true.
    • 1 of the 8 titles contains "model" or "citizen".
    • The first Model Citizen row came 9th, after 8 library titles.

    With the setting off, the response had 0 items in keyword mode, and Model Citizen was the first row, under "Not in your library".

  • A raw search_diagnostics from a hybrid response (Minority Report, first page): {"result_window_limit":1000,"session_expires_at":"2026-11-11T03:16:56.284Z","provider":"meilisearch","mode":"hybrid","semantic_used":true}.

  • Index setup: the Meilisearch embedder is userProvided with 3072 dimensions and binaryQuantized: true.

  • Not tested:

    • other values of "When a search has several words"
    • other values of the meaning-based share
    • a non-admin account
    • the "All" type filter
    • clients other than the web UI, although they use the same /api/v2/catalog/query endpoint
  • Related, but different:

AI harness

Claude Code

AI tool(s)

Claude Code (Bash, Agent subagents), Claude in Chrome, GitHub CLI, kubectl, Silo troubleshooting skill (silo-troubleshooting)

AI model(s)

claude-opus-5-5

AI involvement

AI-assisted

Independent or adversarial review

Two rounds, each with four fresh Claude Code subagents, one per lens: evidence, reproducibility, privacy and duplicates. They checked this report against a private evidence file, and the duplicates reviewers searched Silo-Server issues and pull requests and found no existing report. Round 1 found claims wider than the tests, numbers merged from different runs, trimmed logs and missing setup details; more test searches and the added details fixed those. Round 2 found unsupported claims about which items matched, log coverage and commits since the build, plus steps with no expected result; these were corrected after re-checking the logs, the build's search code and the commit history. Later edits removed setup details, restored the title and client IP, and moved analysis into Technical notes; those edits were not re-reviewed.

Confirmations

  • I searched open and recently closed issues and pull requests, and this is not already reported
  • I reproduced this myself on a real deployment
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Activity

  1. added
    bug
    impact: usability
    priority: P2
    on Nov 12, 2026
  2. added a commit that references this issue on Nov 13, 2026
    784c406
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimpact: usabilitypriority: P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions