A full text search component used for K-Link and K-Box.
10K+
The K-Search is the interface of the search component for the K-Link project. It consists of a set of APIs that enable third party clients to:
K-Search can be installed on most operating systems. The setup is heavily based on Docker.
These few commands allow you to quickly install a K-Search locally on your computer for testing purposes.
mkdir k-search && cd k-searchcurl -o docker-compose.yml https://raw.githubusercontent.com/k-box/k-search/develop/docker-compose.yml.distdocker-compose up -d (when running this for the first time, it will download a lot of data and take a while)The general documentation is located under the docs folder.
Here is a brief table of contents for the most important parts:
The K-Search is implemented in PHP (v7.1.x) by using the Symfony framework. The project structure follows the latest Symfony (v4.x) recommendation, as available at Symfony Architecture page.
This project uses Drifter to provide a replicable development environment, where most of the needed configurations and external services are installed and configured.
The only requirement is a working installation of Vagrant. Drifter supports both VirtualBox and the LXC containers, choose the one that best suits your needs. Refer to the Drifter documentation for further details about its requirements and configuration.
To create working instance of a VM for the K-Search development and testing run the following commands:
git clone https://github.com/k-box/k-search.git --recursivevagrant upThe K-Search VM will be available at http://ksearch.test.
The K-Search uses a set of Open Source technologies to support the full-text search and data handling/manipulation functionality:
Contributions to the K-Search API are accepted by opening a Pull Request on the project page on GitHub.
PHPUnit, ...);The K-Search API code is regularly checked with the following tools:
php-cs-fixer: to comply to the Symfony Coding Standards and additional PSRs (see: http://cs.sensiolabs.org)phpstan: Static analysis checks for PHP with a check-level of 7 (see: https://github.com/phpstan/phpstan)phpunit: PHP testing framework (see: https://phpunit.de/)This project is licensed under the AGPL v3 license, see LICENSE.txt.
Content type
Image
Digest
Size
198.8 MB
Last updated
over 7 years ago
docker pull oneofftech/k-search