Company-Wide Rollout: A Stage-by-Stage Checklist

Introduction

When a Fess trial goes well and you decide to roll it out across the company, the hard part is less the features themselves than the order in which to set them up. Some settings are expensive to change if you leave them for a later stage. For example, changing the encryption key after credentials have been registered makes the stored values impossible to decrypt, and changing document permissions afterwards requires a re-crawl.

This article lays out, stage by stage, the order in which to roll out Fess 15.9 company-wide. For each stage, it lists what to configure, what to check, and the indicators that tell you whether you are ready to move on to the next stage. As indicators, we use the analytics reports in [System Info] > [Search Log] of the admin console. The procedures for individual features are not explained here; instead, we link to the articles that cover them.

Components and the Articles That Cover Them

The components involved in a company-wide rollout, and the articles that cover each of them in detail, are as follows.

Anything that is not stored in OpenSearch is managed separately on each Fess server. That means three things: the settings in [System] > [General] (system.properties), fess_config.properties (including the encryption key app.cipher.key), and the plugins you have installed. For how to keep copies of these, see Fess Operations: Monitoring, Backup, Troubleshooting; for managing them as code, see Fess Settings as Code for Reproducible Environments.

Overview of the Stages

Stage Goal Ready to move on when
  1. Trial

Let a small number of users search and learn what they look for You have recorded the top queries and the zero-hit queries
  1. Publish the first source

Publish the first source with permissions and put the basics of operation in place You have recorded baseline values for users and click-through rate
  1. SSO and login

Let users log in with their company ID and tailor results by group IdP groups appear in “Searches by Role and Group”
  1. Add more sources

Add SaaS, cloud storage and databases Zero-hit queries caused by missing documents disappear
  1. Quality improvement cycle

Find problem queries in the search log and fix them The metrics you fixed are no worse than in the previous period
  1. Scaling and automation

Prepare for growth in documents and users, and make the environment reproducible Response times on the [Performance] tab are no worse than before scaling, even as users increase
  1. AI features

Add the AI search mode, semantic search and MCP Requests are recorded on the [AI Chat] tab, and the error rate is no higher than right after introduction

Every stage assumes the settings of the previous stages. In particular, stages 2 and 3 include settings that require a re-crawl if changed later, so do not swap their order.

Stage 1: Trial

Set up a Fess instance for evaluation and have some departments use it. The goal of this stage is to collect, as search logs, what users are looking for.

What to configure

  • Following Running and Searching Fess with Docker, start Fess with the Compose files from the v15.9.0 tag of docker-fess, and change the password at your first login

  • Create a crawl configuration limited to a single site or a single folder

  • Make sure that “Search Log” and “User Log” are enabled in [System] > [General] (both are enabled by default). If “User Log” is disabled, the number of users is not counted

What to check

  • In [System Info] > [Job Log], the crawl job ends with “OK”, and in [System Info] > [Crawling Info], the number of indexed documents is not 0

  • If there are few documents, look at [System Info] > [Failure URL] (Running and Searching Fess with Docker)

Ready to move on when

  • On the [Overview] tab of [Search Log], the searches, users, top queries and zero-hit queries for the trial period are displayed

  • Click each zero-hit query, check the actual searches on the [Logs] tab, and then, following the table in Improving Search Quality with Search Logs, sort the causes into “different wording”, “steer to the official term” and “no documents”

  • Treat the terms sorted into “no documents” as candidate sources to add in stages 2 and 4. Download the table as CSV and keep it

Stage 2: Publish the First Source

Choose one source to be used by users across the company, and publish it with permissions. At the same time, put in place the monitoring and backups needed for production operation.

What to configure

What to check

Ready to move on when

[Search Log] does not tell you the state of the monitoring and backups set up in this stage. Judge those with “What to check” above. In the search log, record baseline values for usage after publication.

  • On the [Overview] tab, check the searches, users, zero-hit rate and click-through rate for the period after publication, and keep them as CSV. In later stages, compare against these values using “Compare to previous period”

  • The URLs of the published source appear in “Most clicked URLs” on the [Clicks] tab

  • If you set a number of days in “Delete old search logs” in [General], logs older than that cannot be used for comparison (the default -1 deletes nothing). Decide on a retention period

Stage 3: SSO and Login

Have users log in through the company identity provider (IdP), and tailor search results by IdP group.

SSO here means the four methods provided as plugins in Fess 15.9. Entra ID uses fess-sso-entraid, OpenID Connect uses fess-sso-oidc (“SSO Type” is oic), SAML uses fess-sso-saml, and SPNEGO uses fess-sso-spnego. The Docker images include all four, but the -slim images do not. With the ZIP, RPM and DEB packages, install them from [System] > [Plugin] or with bin/fess-setup.

LDAP is not SSO. The LDAP settings in [General] verify the ID and password entered on the Fess login page against Active Directory or a similar directory, and retrieve the user’s groups (Controlling Search Results with Roles and Groups). SPNEGO uses these LDAP settings to retrieve groups.

What to configure

  • Install the plugin, restart Fess, and set “SSO Type” and the IdP details in [General]. The return URL to register with the IdP is https://<Fess host>/sso/ (Protecting Search with SSO and Access Control)

  • When Fess sits behind a reverse proxy that terminates TLS, tell Fess the external scheme and port (Protecting Search with SSO and Access Control)

  • If users who have not logged in must not be able to search, enable “Login Required” in [General]

“Login Required” affects more than the search page.

What to check

  • Opening /sso/ lets you log in through the IdP, and the documents visible to each department change as designed in stage 2 (Protecting Search with SSO and Access Control)

  • If you run Fess on multiple servers, sticky sessions are enabled on the load balancer. In 15.9, login sessions are held in the memory of each Fess

Ready to move on when

  • Under “Searches by Role and Group” on the [Audience] tab of [Search Log], rows for the groups received from the IdP are listed in the form {group}<group name>

  • If no group rows appear, either users are searching without logging in (counted in the {role}guest row), or the groups are not reaching Fess

  • The number of users on the [Overview] tab has not dropped significantly from the stage 2 baseline. Use the users column of “Searches by Role and Group” to check that no department has stopped using search because of the introduction of login

Stage 4: Add More Sources

Add sources other than websites and file servers through data store plugins. The steps common to all sources (installing the plugin, parameters and scripts, permissions, jobs, and how to check the results) are collected in Data Store Crawling Basics. Read it first.

What to configure

  • Install the plugin for each source and restart

  • Data store configurations also contain {role}guest. For each configuration, decide whether to inherit the source’s permissions or to write them with the {group} entries from stage 2

  • Use [Create New Job] to give each configuration its own job, so that API rate limits and credential expiry can be handled per source

  • Give each source a label so that users can narrow results on the search page. Data store configurations have no label field, so assign labels with a script or with the label’s “Included Paths” (Data Store Crawling Basics)

What to check

  • A data store job may end with “OK” even when an error occurs in the connector. Check “Index Size (Data Store)” in [Crawling Info], [Failure URL] and fess-crawler.log together (Data Store Crawling Basics)

  • For sources whose permissions are inherited, search as users with different permissions and confirm that the visible documents change

Ready to move on when

  • The zero-hit queries sorted into “no documents” in stages 1 and 2 disappear from the zero-hit queries on the [Queries] tab for the period after the source was added

  • Documents from the added sources appear in “Most clicked URLs” on the [Clicks] tab. A source that does not appear is either not being searched for, or not ranking near the top of the results. The latter is handled in stage 5

Stage 5: Quality Improvement Cycle

Once the sources are in place, review the search log regularly and fix problem queries. How to choose a fix and the steps to apply it are covered in Improving Search Quality with Search Logs.

What to configure

What to check

  • Search for the fixed terms on the search page and confirm that the intended documents are found or ranked near the top

  • For key match, the target documents are shown in the “URLs” field of the details page (Improving Search Quality with Search Logs)

Ready to move on when

This stage never ends; you repeat it. Check the effect of each improvement as follows.

  • Set the period to “Custom” starting from the day after the change, and enable “Compare to previous period”

  • If you fixed zero-hit queries, look at the zero-hit rate on the [Overview] tab and the zero-hit queries on the [Queries] tab; if you fixed rankings, look at the average click position on the [Queries] tab and the click position distribution on the [Clicks] tab

  • If the fixed terms have disappeared from the list and the overall metrics are no worse than in the previous period, keep the change

Stage 6: Scaling and Automation

As documents and users grow, find out what is running short before scaling. At the same time, make it possible to rebuild the same environment.

What to configure

  • Identify what is running short from the symptoms (Scaling Fess as Documents and Users Grow). An OutOfMemoryError in fess-crawler.log is a shortage in the crawler’s JVM (jvm.crawler.options), and increasing the heap of Fess itself (FESS_HEAP_SIZE) does not fix it

  • Consider, in this order: moving OpenSearch to a separate server, making it a three-node cluster, and running multiple Fess servers (Scaling Fess as Documents and Users Grow)

  • When running multiple Fess servers, leave crawling to one of them. Set both scheduler.target.name and “Target” in [System] > [Scheduler] (Scaling Fess as Documents and Users Grow)

  • With multiple servers, keep app.cipher.key, fess_config.properties, the settings in [General] and the plugins identical on all servers

  • Pin the Docker image tag and the plugin versions, and make the settings applicable with fessctl and the admin API (Fess Settings as Code for Reproducible Environments)

  • To share one Fess among several organizations, combine virtual hosts with roles. Virtual hosts alone do not provide access control (Serving Multiple Organizations from One Fess)

What to check

Ready to move on when

  • On the [Performance] tab of [Search Log], the median, p95 and p99 response times are lower than before scaling, or have not risen even as users increased

  • Search for the terms listed in “Slowest queries” to tell whether only certain terms are slow or everything is slow

Note that the ability to store login sessions in OpenSearch and share them across multiple servers is available from 15.10. In 15.9, operate with the sticky sessions mentioned earlier.

Stage 7: AI Features

Each AI feature needs different preparation. Add the ones that fit your goals first.

AI search mode (RAG)

  • An LLM answers users’ questions based on internal documents (Answers from Internal Documents with AI Search (RAG))

  • Vector search is not required. The supporting documents are gathered with an ordinary search, so the permissions from stages 2 and 3 apply as they are, and documents a user cannot see are not used in the answer

  • Three things are required: rag.chat.enabled=true in fess_config.properties (the default is false, and there is no item for it in the admin console), a fess-llm-* plugin, and “LLM Provider” in [General]

  • You can restrict which users can use it with “Chat Permissions” in [General]

Semantic search and multimodal search

  • Semantic search finds documents that are close in meaning even when the keywords do not match (Finding Documents by Meaning with Semantic Search). Choose the embedding provider with content_chunker.embedding.name. The default opensearch uses a model in OpenSearch ML Commons, while ollama, openai, gemini and bedrock require the corresponding fess-llm-* plugin

  • To enable it on an existing environment, recreate the index and then generate vectors for all documents. With pay-per-use models such as OpenAI, the initial processing incurs charges for every document

  • Multimodal search uses the fess-webapp-multimodal plugin and a CLIP server to find images with text (Searching Images and Text Together (Multimodal))

  • These two cannot be used at the same time on a single Fess. If you need both, build separate Fess instances

MCP

  • Lets AI agents search Fess (Searching Fess from AI Agents with MCP). Installing the fess-webapp-mcp plugin makes /mcp available

  • With the default mcp.auth.mode=none, anyone who can reach /mcp can search as a guest. Before exposing it within the company, change the setting so that it authenticates with access tokens or similar

What to check

Ready to move on when

  • For the AI search mode, look at the requests, users, error rate and average response time on the [AI Chat] tab of [Search Log]. Token counts are recorded only when the LLM plugin reports them, and the content of questions and answers is not recorded

  • For semantic search, enable “Compare to previous period” for a period starting the day after introduction, and compare the zero-hit rate, the click-through rate and the response times on the [Performance] tab

  • MCP and multimodal search have no dedicated metrics in [Search Log]. Judge them by “What to check” above and by feedback from the departments using them

Further Reading

References