Skip to content

docs: rework the practical guide around reader goals and Fess 15.9 - #685

Merged
marevol merged 1 commit into
mainfrom
docs/practical-guide-refresh
Nov 28, 2026
Merged

marevol merged 1 commit into
mainfrom
docs/practical-guide-refresh

Conversation

@marevol

@marevol marevol commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Rework the practical guide (guide.rst and the pages it lists) so it gives Fess users accurate, actionable information for Fess 15.9, in all seven languages.

An audit of every page against the 15.9 sources found steps that no longer work. The first docker compose up -d in guide-02 fails, /api/v1 examples need a plugin that is not installed by default, and JSP themes and the page design editor were removed in 15.9. Data store script keys were missing their prefixes, and the common-document design in guide-05 hid documents from logged-in users. Many sections were also generic text that applied to any product.

Structure

  • guide.rst is grouped by reader goal: get started, collect, embed, access control, quality, operations, AI, rollout. It also gets a short "choose by goal" path list. The numbered-series framing and "第N回 / Part N" titles are gone.
  • Every existing URL is kept. Each article keeps its topic, and each topic has one owning article that the others link to (backup → guide-10, built-in search log analytics → guide-08, OpenSearch Dashboards → guide-22, API → guide-11, UI embedding → guide-03).
  • New page articles/datastore-basics: the data store mechanics that guide-06/07/12 share. It covers plugin install, the handler/parameter/script fields, script_type, the {role}guest prefill, labels via script, a job per config, document expiry and how to confirm results.

Content

  • Written for Fess 15.9, the current stable release, and checked against the 15.9 tags of fess, docker-fess and the plugins. Features that exist only in 15.10 (OpenSearch session store, passkeys) are marked as 15.10 or later.
  • Each article now gives concrete UI paths, setting keys and defaults, and a way to confirm that the step worked (job log, failure URLs, crawl info, API responses).
  • Reference links point to /stable/ pages that exist in 15.9 (/<lang>/stable/…; English uses the site root).
  • The Japanese text was reviewed separately for wording and term consistency.

Translations

  • en, de, fr, es, ko and zh-cn are retranslated in full from the new Japanese text, one article at a time.
  • UI labels come from each language's Fess 15.9 message bundles and the bootstrap theme strings.
  • Locale-bound examples are adapted per language, e.g. guide-02 crawls that language's search guide and uses query words that occur in those pages.
  • legacy-search-migration exists only in Japanese, so ja/guide.rst lists one more page than the other languages.

Verification

  • Sphinx 5.3.0 (the production version) builds all seven languages with no warnings on the changed pages. tools/check_headings.py passes.
  • Mechanical checks per language against ja: section/list/table/paragraph counts, code-block lines, :doc: targets, link targets (each /stable/ target exists in that language's 15.9 tree), inline literals next to CJK punctuation, title width.
  • Run on a live Fess 15.9.0 Docker stack (docker-fess v15.9.0):
    • guide-02 end to end, including the example query table
    • the datastore-basics CSV example and its label caveat
    • a list mapped into role under script_type=javascript
    • the guide-11 API and bulk-indexing examples
    • guide-16 apply.sh with fessctl 0.4.0, and the guide-10 backup script, health check and stats examples
    • document expiry under an incremental Git crawl
    • guide-22's Dashboards setup and queries
  • Not run live:
    • the guide-13, guide-19 and guide-20 curl flows
    • the cloud connectors (Google Drive, Microsoft 365, Box, Slack, Atlassian, Salesforce); these were checked against plugin sources only
    • the translated guide-02 queries, which were checked by text matching against each language's pages

Found while writing, not fixed here

The articles describe the actual 15.9 behaviour. Separate follow-ups are worth considering for these:

  • 15.9 reference pages:
    • search-form-integration loads scripts that 15.9 no longer ships.
    • theme-guide uses UI names that 15.9 does not have.
    • api-chat gives the wrong rate-limit key.
    • rag-chat gives the wrong fess_config.properties path.
    • ds-database says filtered-out rows are deleted at the end of a crawl.
    • ds-box and ds-microsoft365 permission details are wrong.
    • multitenancy describes the 仮想ホスト field as a multi-select.
    • install-docker external OpenSearch steps miss removing depends_on.
    • relatedquery-guide describes related queries as broadening the search.
  • Fess core:
    • A data store script label value is dropped when a registered label's path also matches the URL (reproduced live).
    • 「ブラウザロケールを使用」 appears to have no effect.
    • The bundled fess_log.ndjson dashboard also counts click and chat logs.
    • Some non-English label bundles leave the log notification fields untranslated.
  • Plugins and tools:
    • fess-ds-git incremental crawls let unchanged files expire after 3 days unless time_to_live is set; the articles explain this.
    • The fess-ds-atlassian README still shows issue.jql.
    • The docker-semanticsearch and docker-multimodalsearch v15.9.0 stacks fetch 15.10-only themes by default.
    • fessctl 0.4.0 scheduler start does not print the job log ID in text mode.

Rewrite guide.rst, the 23 guide articles, use-cases, comparison and
file-server-search in all seven languages, and add a data store basics
page that the connector articles share.

Structure
- Group guide.rst by reader goal (get started, collect, embed, access
  control, quality, operations, AI) instead of a numbered series, and
  drop "第N回"/"Part N" from the titles; every existing URL is kept
- Give each topic one owning article and link to it from the others
  (backup in guide-10, search log analytics in guide-08/22, API in
  guide-11, UI embedding in guide-03, data store basics in the new page)

Content (checked against the 15.9 sources and docs)
- Fix steps that do not work on 15.9: the two-file docker compose
  command, /api/v2 instead of /api/v1, static themes instead of JSP and
  the page design editor, plugin-based SSO, data store script field
  prefixes, label value rules, the {role}guest prefill, KeyMatch URL
  quoting, document expiry for incremental crawls, and more
- Replace generic text with concrete settings, defaults and a way to
  confirm that each step worked
- Point reference links at /stable/ pages that exist in 15.9 and mark
  15.10-only features as such

Translations
- Translate the new Japanese text into en, de, fr, es, ko and zh-cn,
  taking UI labels from each language's 15.9 message bundles and
  adapting locale-bound examples (crawl targets, example queries)
- English reference links use the site root, where the English pages live
@marevol
marevol merged commit dbe70b7 into main Nov 28, 2026
2 checks passed
@marevol marevol self-assigned this Nov 28, 2026
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