Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

fess

> 数据库
Open source

Open-source, self-hosted enterprise & site search server built on OpenSearch. Crawls web / file / DB / cloud sources, 20+ languages, REST API, and AI/RAG & sema

1.1K stars0 likes0 views
WebsiteGitHub

About

Open-source, self-hosted enterprise & site search server built on OpenSearch. Crawls web / file / DB / cloud sources, 20+ languages, REST API, and AI/RAG & sema

Fess: Enterprise Search Server

Overview

Fess is an enterprise search server that you can install and run on any platform with a Java runtime. It is built on OpenSearch, but prior OpenSearch knowledge is not required: Fess is configured through a browser-based administration UI.

A built-in crawler collects documents from web sites, file systems, and data stores such as databases and CSV files. Many file formats are supported, including Microsoft Office, PDF, and ZIP archives.

Fess Site Search is a free alternative to Google Site Search that you can embed in your own website. For details, see the FSS JS Generator documentation.

Features

  • Full-text search with faceting, sorting, and search suggestions
  • Crawlers for web sites, file systems, and data stores (databases, cloud storage, and SaaS)
  • Support for many document formats, including Microsoft Office, PDF, and archives
  • Browser-based administration UI and a REST API
  • Role- and permission-based filtering of search results
  • Single sign-on with LDAP, OpenID Connect, SAML, SPNEGO, and Microsoft Entra ID
  • Multilingual user interface and text analysis (20+ languages)
  • Extensible through data store, ingest, script, and theme plugins

Requirements

  • Java 21 or later, for the ZIP, RPM, and DEB packages
  • OpenSearch as the search engine backend. The Docker images bundle it; for other installations you set it up separately.

See the Installation Guide for supported versions and setup details.

Getting Started

There are two ways to try Fess: download and install it yourself, or run it with Docker.

Download and Install/Run

Fess can be downloaded from the Releases page. Downloads are available in three formats: DEB, RPM, and ZIP.

The following commands show how to use the ZIP download:

$ unzip fess-.zip
$ cd fess-
$ ./bin/fess

For more details, see the Installation Guide.

Docker

Docker images are published on ghcr.io. A Docker Compose file is available in the docker-fess repository.

Browser UI

  • Search UI: http://localhost:8080/

  • Admin UI: http://localhost:8080/admin/ (default username/password is admin/admin)

Register crawling targets on the Web, File, or Data Store configuration pages in the Admin UI, then start the crawler from the Scheduler page.

Migration from Another Search Provider

See MIGRATION.md.

Data Store

Fess can crawl the following storage locations and APIs:

  • Confluence/Jira
  • Box
  • CSV
  • Database
  • Dropbox
  • Elasticsearch
  • Git
  • Gitbucket
  • G Suite
  • JSON
  • Office 365
  • S3
  • Salesforce
  • SharePoint
  • Slack

Plugins

Fess can be extended with plugins. In addition to the data store connectors above, the following are available.

Theme

  • fess-themes: a collection of static themes, each a self-contained single-page app installed by uploading a ZIP in the admin UI

Ingest

  • Logger
  • NDJSON

Script

  • Groovy
  • OGNL

Development

Get the Source Code

  1. Clone the repository:

    $ git clone https://github.com/codelibs/fess.git
  2. Import it as a Maven project in your IDE.

Building Fess requires Java 21 or later and Maven.

Set Up OpenSearch Plugins

Run antrun:run to download plugins into the plugins directory:

$ mvn antrun:run

Run Fess

Run or debug org.codelibs.fess.FessBoot in your IDE, then open http://localhost:8080/.

Build a Package

Run the package goal to create the release file in target/releases:

$ mvn package
$ mvn rpm:rpm   # .rpm package
$ mvn jdeb:jdeb # .deb package

Generate Source Code

$ mvn dbflute:download # one-time setup
$ mvn dbflute:freegen
$ mvn license:format

Integration Tests

Integration tests require a running Fess server with OpenSearch.

  1. Build Fess:

     $ mvn antrun:run  # download OpenSearch plugins, if not done already
     $ mvn package
    
  2. Start the Fess server:

     $ unzip target/releases/fess-*.zip
     $ ./fess-*/bin/fess &

    Wait for Fess to become ready (this may take up to 60 seconds). It returns a JSON response when ready:

     $ curl -s "http://localhost:8080/api/v1/health"
    
  3. Clone the test data (required for SearchApiTests):

     $ git clone https://github.com/codelibs/fess-testdata.git /tmp/fess-testdata
    
  4. Run the tests:

     $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"

    To run a single test case:

     $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201" -Dtest=SearchApiTests

Contributing

Contributions are welcome. If you find a bug or have a feature request, please open an issue. For questions and discussion, use the forum. Pull requests for fixes and improvements are appreciated; for larger changes, discussing the approach first is recommended.

Before committing, format the code and license headers:

$ mvn formatter:format
$ mvn license:format

Adding a Language

Fess is internationalized. To add labels and messages for a language, translate the property files below and rename them with your language code (fess_*_[lang].properties):

  • fess_label_en.properties
  • fess_message_en.properties

For search and index analysis, if doc.json contains lang_[lang] for your language, adjust the analyzer accordingly. See the OpenSearch documentation on analyzers for details. Pull requests for new languages are welcome.

Community and Support

  • Website and documentation: fess.codelibs.org
  • Questions and discussion: discuss.codelibs.org
  • Bug reports and feature requests: GitHub Issues

Translations

This README is available in other languages:

  • 日本語 (Japanese)
  • 简体中文 (Simplified Chinese)
  • Español (Spanish)
  • Português (Brazilian Portuguese)
  • Français (French)
  • Deutsch (German)
  • 한국어 (Korean)

Powered By

  • Lasta Di: DI container
  • LastaFlute: web framework
  • Lasta Job: job scheduler
  • Fess Crawler: web crawler
  • OpenSearch: search engine

License

Fess is distributed under the Apache License 2.0.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaai-searchcrawlerdockerelasticsearch

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库