Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 832 Bytes

README.md

File metadata and controls

45 lines (32 loc) · 832 Bytes

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.