Repository navigation
We're pleased to announce the release of Fess 15.10.0.
This release hardens authentication, permissions and logging, rebuilds the admin console on its own lightweight stylesheet and script with a full accessibility pass, makes crawling and text extraction more faithful (robots directives, 404/410 handling, language fields, OCR, Apache Tika 4), and answers 503 and keeps its login limits while the search engine is unavailable. It adds a maintenance admin API, crawl progress and richer failure URLs, and moves the search engine baseline to OpenSearch 3.10. Passkey login, an OpenSearch session store and a similar-documents API arrive as experimental features.
Important — read before upgrading an existing installation. See
UPGRADING.mdfor details.
- Experimental features are now marked (#4016, #4021). Passkey login, the OpenSearch session store, the similar-documents API, user tags, engine-side rank fusion, semantic search, content chunking and the AI search mode (RAG chat) may change incompatibly or be removed in a future release. Each is off by default; Fess writes a WARN at startup for each one that is enabled.
- The admin console no longer ships Bootstrap, AdminLTE, jQuery, Popper or moment.js (#3822). Custom admin pages or scripts that rely on those libraries must be changed.
- Fess refuses to start when
app.cipher.keyis not 16, 24 or 32 bytes long with the AES algorithm (#3972).- Re-crawl to apply the extraction fixes. Documents indexed by 15.9 or earlier keep their old text until they are crawled again. A re-crawl also removes the document of a page that answers 404 or 410 (#3930, #3907).
- Thumbnails are fetched only from the host of the document (#4055).
- Result links are limited to
search.result.link.schemes(#3779, #3792).- A search word without quotes now also matches similar words, whatever its case (#3726, #3741).
- Passwords longer than the algorithm reads are refused, and a typed password is no longer trimmed (#3753, #3897).
- Chat answers carry no images (#4053).
- SSO plugins need their 15.10.0 releases to read
-Doptions and environment variables (#4057).- A new index,
fess_user.passkey, is created at startup (#3795).
Highlights
-
Maintenance Admin API
The maintenance operations of the admin console are available through the admin API (#4049). -
Lightweight Admin Console
The admin console uses its own stylesheet and script instead of Bootstrap, AdminLTE and jQuery, follows the operating system's light or dark setting, and is usable by keyboard and assistive technology: labelled fields, landmarks, heading levels, focus handling and contrast fixes across the screens (#3822, #3824, #3825, #3826, #3827, #3828, #3829, #3830, #3831, #3832, #3833, #3834, #3835). -
Crawl Progress and Richer Failure URLs
Crawling Info shows the progress of running crawls, and failure URLs record the size, MIME type and HTTP status and can be downloaded as CSV (#3733, #3737, #3731, #3744). -
Settings From Environment Variables
Any setting can be read fromFESS_CONFIG_*/FESS_SYSTEM_*environment variables, and Fess warns about a secret given as a JVM option (#3916). -
Initial Setup From the Command Line
fess-setup initsets the initial admin password and the cipher key (#3729, #3755, #3978). -
Theme Settings
Administrators can passkey=valuesettings to themes, and the bundled theme follows the system's light or dark setting and keeps its libraries inside the theme (#3730, #3898, #3823). -
Apache Tika 4 and OpenSearch 3.10
Text extraction moves to Apache Tika 4, and Fess is based on OpenSearch 3.10 (#3666, #3821, #4023).
Improvements
Authentication & Security
- Make the password hash a pluggable component with a length limit per algorithm, verify BCrypt hashes written with the
$2b$and$2y$prefixes, and refuse a password longer than the algorithm reads (#3867, #3880, #3753, #3978) - End the login session of a local user when the password, roles or groups change, when the user is deleted, or when the identity provider has ended the SSO session (#3772, #3905, #3876, #3816)
- Add
authentication.local.username.policyto refuse local user names that differ only in case, and refuse to create a user whose name is taken (#3868, #3820, #3877) - Count login attempts per address across every case spelling of a name and while the search engine is down, and apply the rate limits to the login form (#3721, #3675, #4019, #4065)
- Stop trusting a user code carried by the request, and identify a logged-in user by the session (#3748, #3681)
- Escape DN special characters in the LDAP bind principal and group filters, and fail a directory search that did not return all of its results (#3754, #3690, #4022)
- Keep documents with a deny entry out of the results while the groups of a user are being resolved or when the resolution failed (#3813, #4018)
- Refuse permission entries written with full-width syntax or starting with an invisible character, and treat no-break and ideographic spaces like spaces (#3860, #3891, #3893, #3955, #3700)
- Mask secrets and credentials in logs, System Info and the admin screens: URL user information, cookies,
Authorizationvalues,-Doptions of child processes, crawl authentication passwords and access tokens (#3992, #3899, #3919, #3961, #3943, #3982, #3948) - Keep user-supplied values from starting a line of the log, and write control characters of the LTSV audit log safely (#3682, #3695, #3696, #3782)
- Record password changes, the HTTP method and target id of requests, ended login sessions and rejected SSO logins in the audit log (#3723, #3724, #3886, #3720, #3769)
- Protect delete and tag actions of the storage screen, require tokens for the test mail, the new-password form and suggest word deletion, and require the edit role for downloads of files that hold secrets (#4051, #3781, #3968, #3998, #3983)
- Stop fetching thumbnail images from other hosts, and make the scheme of result links configurable (#4055, #3779)
- Fess refuses to start with an invalid AES
app.cipher.keyand warns when the key is still the default (#3972, #3657, #3756)
Search & Query
- Match a word without quotes against similar words, whatever its case, and skip the implicit fuzzy clause for text with a digit (#3726, #3741)
- Treat a quoted single word as a phrase, and escape a stray double quote on retry (#3670, #3678)
- Fold accents when searching on a plain OpenSearch (#4009)
- Apply the virtual host filter to lookups by document ID, and do not suggest words from documents that search hides (#3708, #3689)
- Apply
suggest.popular.word.excludesand tags to popular words, and keep the popular word cache of one role set apart from another's (#4002, #3688) - Say where the result window ends when a page is beyond it, and do not report a query as invalid when every node of the engine is unavailable (#3851, #4008)
- Make suggest candidates from adjacent nouns of the Japanese analyzer and no longer suggest meaningless fragments, with fess-suggest 15.10 (fess-suggest#107, fess-suggest#108)
Crawling & Indexing
- Read the robots meta tag and
X-Robots-Tagheader directive by directive, honornoindexfor non-HTML documents, and delete the indexed page that answers 404 or 410 (#3931, #3929, #3956, #3930, #3907) - Keep the language fields of a document when it is updated (#3995, #4005)
- Detect the language of one text at a time, and index the detected type for
application/octet-streamdocuments (#4012, #4011) - Record rejected documents of a data store crawl, suspected zip bombs and HTTP 5xx responses as failure URLs, and say why a text could not be extracted (#4037, #3757, #3752, #3941)
- Raise the zip bomb ratio so that ordinary text archives are indexed, cut extracted text at 16,000,000 bytes, and leave
<template>,Content-Lengthand image metadata out of the content (#3874, #3979, #3789, #3694, #3668) - OCR scanned PDFs when a crawl configuration turns OCR on, with a size limit for the PDFs to be OCR'd (#3667, #4044)
- Warn when the start URL of a crawl is rejected by its excluded patterns, and validate the regular expressions of crawl patterns on the form (#3911, #3859)
- Honor the ACL entry type and read mask for file crawl roles, and keep deny entries in permissions (#3686, #3685)
- Use the later of the last write time and the change time as
last_modifiedof an SMB document (#3973) - Stop the job processes when Fess shuts down, mark job logs left as running as failed, and report a stopped suggest, thumbnail or script job as stopped (#4041, #4059, #4036)
Administration & Configuration
- Refuse to save a user edit form that is out of date, and make the admin APIs refuse a stale
version_no(#3857, #3866, #3903, #3959) - Open the General settings and authentication settings when a stored password cannot be decrypted (#4062, #3938)
- Do not store a General setting that comes from
FESS_SYSTEM_*or-Dfess.system.*(#3946, #4058) - Show the times of the job log and failure URL details as dates, and download a log file by the name the list shows (#3872, #3697)
- Refuse a list filter the search engine cannot run instead of failing with 500, and mark the open tab of the document report (#3954, #3837)
- Make
fess-setup checkwarn about indices that record absolute dictionary paths and about an engine the bundled plugins do not fit, and derive the dictionary path relative to the engine config directory (#3963, #4039, #3926) - Load every label type instead of the first page of them, and require the edit role to delete all documents or crawling info (#3858, #3672)
- Mask the access token on its screens and audit admin API calls under the token's name (#3948, #3901)
API
- Answer a request the search engine cannot take with 503 and
Retry-Afterinstead of 500, and report YELLOW from/api/v2/healthwhile writes are refused (#3853, #3958, #3765, #3904) - Write the refusals of the v2 API in the language of the request (English without
Accept-Language) (#3850, #3852, #3957) - Answer a truncated or boundary-less multipart request with 400 instead of 500, and answer a concurrent password-change conflict with 409 (#3818, #3862, #3819)
- Serve
theme_settingsonly to a signed-in caller whenlogin.requiredis on, and send only offered default labels inui/config(#3763, #4050) - Declare security schemes in the v2 OpenAPI definition, and return the labels of each elevate word (#3865, #4000)
- Do not create an HTTP session for a call of the REST API that has none (#3953, #3977)
Themes & UI
- Revalidate bundled theme assets instead of caching them for a day, and compress scripts, styles and SVG files (#3856, #3848, #3913)
- Make the bundled theme usable by keyboard and screen reader: heading levels,
aria-currentin the pager, focus after a search, a menu below 768px, suggest list keys, right-to-left results and dark-mode contrast (#3842, #3843, #3841, #3806, #3994, #3906, #3949) - Read Chinese script and region tags as simplified or traditional Chinese (#3939, #3951, #3908)
- Say that the service is unavailable when a login cannot be checked (#3950)
Packaging & Operations
- Exit when the port cannot be opened or the web application fails to start, and log the reason of an aborted startup (#3759, #3710, #3888)
- Pass
fess.dictionary.pathandfess.suggest.*to the child JVMs (#3993, #4004) - Exempt the health endpoint from CPU load control (#3989)
- Remove the retired
tika.xmlon deb upgrade, fix timestamps of the rpm and packaged files, and runfess-setupin a UTF-8 locale (#3718, #3775, #3760, #3755) - Mark plugins the repository no longer publishes or has no build for in
fess-setup list plugins(#3870, #3719)
Experimental
These features may change incompatibly or be removed in a future release. If you notice any issue, please let us know on the forum.
- Passkey (WebAuthn) login for local users is new. Registrations are limited per user and are refused after a password change, and an administrator's password reset removes a user's passkeys (#3795, #3878, #3934, #3887, #4056)
- OpenSearch session store is new. It saves the session before the response is committed and keeps a session in use from expiring early (#3776, #3811, #3810, #4047)
- Similar documents API
GET /api/v2/documents/{docId}/similarlists documents with the same content signature; it answers 400 unlessapi.search.similaris true (#3734, #3747) - Engine-side rank fusion: deep pages follow the fused pages, and a page past the fusion depth is named in the answer (#3767, #3894)
- Semantic search and content chunking: the additional query applies to the semantic branch, results are flagged partial when the semantic branch could not run, and Fess warns about content chunking without an embedding dimension (#3683, #3991, #3990, #3925)
- AI search mode (RAG chat):
rag.chat.permissionsfollows the access token's issued permissions, and answers keep no images (#4017, #4053)
Bug Fixes
- The session is now dropped when the directory fails during a login (#4032)
- The script of an
Accept-Languagetag is kept, and up to 100 entries of the list are read instead of Tomcat's 10 (#4035, #4006) - A running job is now stopped before it is deleted (#4040)
- A rejected document of a data store crawl left no trace of its own (#4037)
- Role and group ids written by the admin screens with the URL-safe alphabet could not be read (#3698)
- A role name made only of backslashes was stored as "null" (#3704)
- The popular word cache expiry is now read as seconds (#3707)
- A CRUD form posted without
crudModefailed with HTTP 500 instead of being rejected (#3740, #3739) - A password change without the old password failed instead of showing a validation error (#3738)
- The online help of the search request screen pointed at the wrong guide (#3711)
- A page that answers
noindexwas abandoned instead of recorded as visited (#3663) - A bad word CSV with quoted fields was read incorrectly (#3999)
- A redirect to a URL with a space or a bare percent sign is now written correctly (#3665, #3794)
- An access result that OpenSearch cannot read could block the indexer (#3799)
- A stored path mapping whose regular expression does not compile is now skipped (#3923)
We recommend upgrading to Fess 15.10.0 for the stronger authentication and permission handling, the lighter and more accessible admin console, and the more faithful crawling. Review the notes above and UPGRADING.md before upgrading an existing installation.
📜 Documentation
📦 Docker Image: GitHub Packages - codelibs/fess
💬 Community Forum: discuss.codelibs.org
Thank you for using Fess!