返回排行榜

opensemanticsearch/open-semantic-search

Shellopensemanticsearch.org

Open Source research tool to search, browse, analyze and explore large document collections by Semantic Search Engine and Open Source Text Mining & Text Analytics platform (Integrates ETL for document processing, OCR for images & PDF, named entity recognition for persons, organizations & locations, metadata management by thesaurus & ontologies, search user interface & search apps for fulltext search, faceted search & knowledge graph)

searchsearch-enginesearch-interfaceocruipythonsemanticskosthesaurusontologiestext-miningtext-analysis
Star 增长趋势
Star
1.2k
Forks
198
周增长
Issues
203
5001k
2016年3月2019年8月2023年2月2026年7月
README

Open Semantic Search

https://opensemanticsearch.org

Open Semantic Search is:

  • an integrated search server,
  • ETL framework for document processing (crawling, text extraction, text analysis, named entity recognition and OCR for images and embedded images in PDF),
  • search user interfaces, text mining, text analytics and search apps for fulltext search, faceted search, exploratory search and knowledge graph search

Documentation

This README.md is documentation for software developers.

Documentation for users and admins

The documentation for users and admins is included in the software packages/images and linked in the search user interface (Menu "Help").

Software architecture

You can find the documentation of the search engine architecture in docs/doc/modules/README.md.

Documentation format

This integrated HTML documentation is generated by the static site generator MkDocs with the config file mkdocs.yml.

The source of the documentation (Markdown format) and the charts (mermaid format) is editable in the directory docs.

Build

How to build the deb package for installation on Debian or Ubuntu server or the docker images for running in Docker containers:

Clone git repositories

Clone the repository including the dependencies:

git clone --recurse-submodules --remote-submodules https://github.com/opensemanticsearch/open-semantic-search.git
cd open-semantic-search

Build deb package

To build a deb package for Debian GNU/Linux or Ubuntu Linux, call the build script build-deb as user root (change user by su or sudo su):

./build-deb

Build Desktop Search VM

How to build an Open Semantic Desktop Search Appliance for VirtualBox is documented in src/open-semantic-desktop-search/README.md.

Build docker images

Build the Docker images using the default docker-compose config docker-compose.yml:

docker-compose build

Run docker containers

After these builds all the Docker images/dependencies/services can be started together by docker-compose with the config file docker-compose.yml.

You can start the whole environment by running:

docker-compose up

which will expose the web user interface on port 8080.

You can browse the Open Semantic Search user interface in your favourite browser by this URL:

http://localhost:8080/search/

Automated tests

For CI/CD there are some different automated tests:

Integration tests

Since the submodule Open Semantic ETL uses and needs different powerful services like Solr, spaCy-services or Tika-Server by HTTP and REST-API, many automated tests run as integration tests within the docker-compose environment configured in docker-compose.etl.test.yml so these services are available while running the unittests and integration tests.

docker-compose -f docker-compose.etl.test.yml build
docker-compose -f docker-compose.etl.test.yml up

End to end tests

Some automated integration tests and end-to-end (E2E) tests within a web browser controlled by the browser automation framework Playwright and the node.js / javascript based test framework JEST.

You can extend the automated tests in test/test.js

They run by the docker image Dockerfile-test and need the services of the docker-compose environment docker-compose.test.yml:

docker-compose -f docker-compose.test.yml build
docker-compose -f docker-compose.test.yml up

Dependencies

Dependencies are resolved automatically by building or by installation of the Debian or Ubuntu packages or by building the Docker images.

Documentation on this dependencies which may help debugging dependency hell issues or installations in other environments:

Build dependencies on Source code (GIT)

Dependencies on other Git repositories / submodules of components like Open Semantic ETL are defined in the Git config file .gitmodules

The submodules will be checked out automatically to the subdirectory src, if you check out this repository by git in recursive mode.

Packaging dependencies of Java archives (JAR)

The submodules src/tika-server.deb and src/solr.deb need the JAR of Apache Tika-Server and Apache Solr.

If not there, they will be downloaded from Apache Software Foundation by wget in the build-deb script or the submodules Dockerfile.

Installation dependencies on Debian/Ubuntu packages (DEB)

Dependencies of tools and libraries, which are available in the Debian or Ubuntu package repositories, are defined in the section Depends of the deb package config file DEBIAN/control

Installation dependencies on Python packages (PIP)

Dependencies of Python libraries which are not available as packages of the Linux distribution but in Python Package Index (PyPI), are defined in

src/open-semantic-etl/src/opensemanticetl/requirements.txt

This dependencies will be installed automatically on installation of the Debian/Ubuntu packages by the DEBIAN/postinst script of the Debian/Ubuntu packages or by docker build configured by Dockerfile by

pip3 install -r /usr/lib/python3/dist-packages/opensemanticetl/requirements.txt

Contributors

Most contributors are not shown by the Github user interface as "Contributors" of this repository, since this main repository is structured by Git submodules like Open Semantic ETL and other modules, which are managed in separated Git(hub) repositories.

So thanks to all (current and former) contributors:

  • Markus Mandalka (@mandalka)
  • @g-braeunlich
  • @maehr
  • @sdinten
  • @wsldankers
  • @rivimey
  • @rbussche
  • @mosea3
  • @bhelou
  • @hpiedcoq
  • @andreclinio
  • @agharbeia
  • @ciyer
  • @davidshq ...

Feel free to extend if you contributed/supported/sponsored in different forms.

相关仓库
BurntSushi/ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore

Rustcrates.ioThe Unlicenseripgreprecursively-search
66.4k2.7k
TheAlgorithms/Java

All Algorithms implemented in Java

JavaMavenMIT Licensejavaalgorithms
66k21.2k
meilisearch/meilisearch

A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.

Rustcrates.ioOthersearch-enginetypo-tolerance
meilisearch.com
58.7k2.6k
sharkdp/fd

A simple, fast and user-friendly alternative to 'find'

Rustcrates.ioApache License 2.0command-linetool
43.8k1.1k
jaywcjlove/linux-command

Linux命令大全搜索工具,内容包含Linux命令手册、详解、学习、搜集。https://git.io/linux

MarkdownMIT Licenselinuxlinux-command
jaywcjlove.github.io/linux-command
36.5k6.6k
TheAlgorithms/C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

C++MIT Licensecppalgorithm
thealgorithms.github.io/C-Plus-Plus
34.5k7.8k
searxng/searxng

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

PythonPyPIGNU Affero General Public License v3.0metasearchsearch
docs.searxng.org
34.2k3.2k
TheAlgorithms/JavaScript

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.

JavaScriptnpmGNU General Public License v3.0algorithmalgorithm-challenges
the-algorithms.com/language/javascript
34.2k5.9k
qdrant/qdrant

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

Rustcrates.ioApache License 2.0neural-networksearch-engine
qdrant.tech
33.5k2.5k
eugeneyan/applied-ml

📚 Papers & tech blogs by companies sharing their work on data science & machine learning in production.

MIT Licenseapplied-machine-learningproduction
29.9k4k
assafelovic/gpt-researcher

An autonomous agent that conducts deep research on any data using any LLM providers

PythonPyPIApache License 2.0aipython
gptr.dev
28.5k3.9k
typesense/typesense

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

C++GNU General Public License v3.0search-enginesearch
typesense.org
26.3k955