https://github.com/agentejo/detektivo
Full-text search addon for Cockpit CMS
https://github.com/agentejo/detektivo
Last synced: 6 months ago
JSON representation
Full-text search addon for Cockpit CMS
- Host: GitHub
- URL: https://github.com/agentejo/detektivo
- Owner: agentejo
- Created: 2017-10-17T00:06:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T00:47:35.000Z (over 5 years ago)
- Last Synced: 2025-05-07T04:59:21.750Z (6 months ago)
- Language: PHP
- Size: 466 KB
- Stars: 31
- Watchers: 6
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Add files to addons/Detektivo.
# Configuration
Configuration `config/config.yaml`:
### Algolia (https://www.algolia.com):
```
detektivo:
engine: algolia
app_id: YLXXXXXXXYE
api_key: xxxxxx85b706f0daaexxxxxxxx
```
### ElasticSearch (https://www.elastic.co):
```
detektivo:
engine: elasticsearch
hosts: [http://localhost:32769]
index: cockpit
```
### TNTSearch (https://github.com/teamtnt/tntsearch):
```
detektivo:
engine: tntsearch
```
### Collections + fields to index
```
detektivo:
collections:
posts: [title, excerpt, content]
```
# Api
Detektivo entry point:
```
/api/detektivo/collection/{name}?token=*apitoken*&q={searchterm}
```
### 💐 SPONSORED BY
[](https://www.ginetta.net)
We create websites and apps that click with users.