Skip to content
Full-text search addon for Cockpit CMS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Controller update to latest codebase Dec 7, 2018
Storage add api entry point Jun 10, 2018
vendor
views add api entry point Jun 10, 2018
.gitignore
README.md
admin.php
bootstrap.php update to latest codebase Dec 7, 2018
composer.json Initial commit Oct 17, 2017

README.md

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

ginetta
We create websites and apps that click with users.

You can’t perform that action at this time.