ランキングに戻る

codelibs/fess

Javafess.codelibs.org

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

javaelasticsearchfull-text-searchlucenecrawlerenterprise-searchsearch-enginesearchai-searchdockerelasticsearch-alternativellm
スター成長
スター
1.1k
フォーク
174
週間成長
Issue
15
5001k
2013年10月2018年1月2022年4月2026年7月
成果物Mavengit clone https://github.com/codelibs/fess.git
README

Fess: Enterprise Search Server

Java CI with Maven License GitHub Release

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 TAR.GZ, 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 15.7 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-15.7.x.zip
$ cd fess-15.7.x
$ ./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

Admin UI

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:

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

Script

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):

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

Translations

This README is available in other languages:

Powered By

License

Fess is distributed under the Apache License 2.0.

関連リポジトリ
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

algorithmleetcode
cyc2018.xyz
184.8k50.8k
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

JavaScriptnpmApache License 2.0javainterview
javaguide.cn
157.2k46.2k
iluwatar/java-design-patterns

Design patterns implemented in Java

JavaMavenOtherjavaprinciples
java-design-patterns.com
94.2k27.4k
Stirling-Tools/Stirling-PDF

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

JavaMavenOtherdockerjava
stirling.com
87.7k7.8k
macrozheng/mall

mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于Spring Boot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。

JavaMavenApache License 2.0spring-bootspring-security
macrozheng.com/admin/
84.3k29.8k
spring-projects/spring-boot

Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.

JavaMavenApache License 2.0javaspring-boot
spring.io/projects/spring-boot
81.1k42k
doocs/advanced-java

😮 Core Interview Questions & Answers For Experienced Java(Backend) Developers | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识

JavaMavenCreative Commons Attribution Share Alike 4.0 Internationaljavadistributed-systems
java.doocs.org
79k19.2k
elastic/elasticsearch

Free and Open Source, Distributed, RESTful Search Engine

JavaMavenOtherelasticsearchjava
elastic.co/products/elasticsearch
77.6k26.1k
TheAlgorithms/Java

All Algorithms implemented in Java

JavaMavenMIT Licensejavaalgorithms
66k21.2k
kdn251/interviews

Everything you need to know to get the job.

JavaMavenMIT Licensejavainterview
youtube.com/channel/UCKvwPt6BifPP54yzH99ff1g
65.1k12.9k
youngyangyang04/leetcode-master

《代码随想录》LeetCode 刷题攻略:200道经典题目刷题顺序,共60w字的详细图解,视频难点剖析,50余张思维导图,支持C++,Java,Python,Go,JavaScript等多语言版本,从此算法学习不再迷茫!🔥🔥 来看看,你会发现相见恨晚!🚀

Shellleetcodeprogrammer
62k12.3k
azl397985856/leetcode

LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。)

JavaScriptnpmOtheralgorithmleetcode
leetcode-solution-leetcode-pp.gitbook.io/leetcode-solution/
55.8k9.4k