Skip to content

docs(rank-fusion): say when the semantic branch makes the results partial - #690

Merged
marevol merged 1 commit into
mainfrom
docs/rank-fusion-semantic-branch-partial
Nov 30, 2026
Merged

marevol merged 1 commit into
mainfrom
docs/rank-fusion-semantic-branch-partial

Conversation

@marevol

@marevol marevol commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Follow-up to codelibs/fess#3991. Merge after it.

codelibs/fess#3991 changes two things that these pages describe:

  • When the semantic branch of a hybrid search cannot run (the embedding provider is unreachable or reported down, the embedding fails, or - when Fess fuses the results - the vector request fails), the keyword results are still returned with HTTP 200, but partial is now true. Searches to which semantic search does not apply (disabled, nothing to embed) are not flagged.
  • When the search engine fuses the results (rank.fusion.engine.enabled=true), rank.fusion.timeout now applies to building the other searchers' queries, which includes embedding the query, and those queries are built on the rank.fusion.threads pool. A branch that does not finish in time is left out and the results are flagged partial and timed out. The pages said the timeout does not apply in that mode and described the provider's own timeouts and retries instead.

Changes, in the 15.10 tree of all seven languages:

  • config/rank-fusion.rst: the engine-side fusion notes (timeout and thread pool), the processing-time note, the searcher failure section (results flagged partial) and the semantic searcher paragraph (when it is partial, and that a provider reported down is logged without a stack trace).
  • config/search-semantic.rst: the keyword-only fallback is flagged partial.
  • api/api-search.rst: partial and timed_out.

config/properties.rst is generated from fess_config.properties, and codelibs/fess#3991 updates the rank.fusion.timeout description there. It is left for the next regeneration after that PR is merged, together with the translations in the .po files.

…tial

codelibs/fess#3991 flags the results partial when the semantic branch of a
hybrid search could not run, and applies rank.fusion.timeout to building the
other searchers' queries when the search engine fuses the results. Update the
15.10 pages in all languages:

- config/rank-fusion.rst: rank.fusion.timeout and rank.fusion.threads in
  engine-side fusion, and the partial flag in the searcher failure section
- config/search-semantic.rst: the keyword-only fallback is flagged partial
- api/api-search.rst: when partial and timed_out are true
@marevol marevol self-assigned this Nov 30, 2026
@marevol
marevol merged commit 4ea7e57 into main Nov 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant