Welcome to Cockatrice’s documentation!

What’s Cockatrice?

Cockatrice is the open source search and indexing server written in Python that provides scalable indexing and search, faceting, hit highlighting and advanced analysis/tokenization capabilities.
Indexing and search are implemented by Whoosh. Cockatrice provides it via the RESTful API using Flask.
In cluster mode, Cockatrice uses Raft Consensus Algorithm by PySyncObj to achieve consensus across all the instances of the nodes, ensuring that every change made to the system is made to a quorum of nodes.

Requirements

Python 3.x interpreter

Features

  • Full-text search and indexing
  • Faceting
  • Result highlighting
  • Easy deployment
  • Bringing up cluster
  • Index replication
  • An easy-to-use RESTful API

Indices and tables