Skip to content

zeraton-de/Detektivo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add files to addons/Detektivo.

Configuration

Create config file detektivo.yaml config/detektivo.yaml:

Algolia (https://www.algolia.com):

engine: algolia
app_id: YLXXXXXXXYE
api_key: xxxxxx85b706f0daaexxxxxxxx

ElasticSearch (https://www.elastic.co):

engine: elasticsearch
hosts: [http://localhost:32769]
index: cockpit

TNTSearch (https://github.com/teamtnt/tntsearch):

engine: tntsearch

Collections + fields to index

collections:
    posts: [title, excerpt, content]

Api

Detektivo entry point:

/api/detektivo/collection/{name}?token=*apitoken*&q={searchterm}

💐 SPONSORED BY

ginetta
We create websites and apps that click with users.

About

Full-text search addon for Cockpit CMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 82.4%
  • Hack 17.6%