fist

A lightweight full-text index server with a focus on speed and efficiency.

  • 所有者: f-prime/fist
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Fist - (F)ull-(t)ext (i)ndex (s)erver

Slack
Patreon
CircleCI

Fist is a fast, lightweight, full-text search and index server. Fist stores all information in memory making lookups very fast while also persisting the index to disk. The index can be accessed over a TCP connection and all data returned is valid JSON.

Fist is still heavily under development. Not all features are implemented or stable yet.

Motivation

Most software that requires full-text search is not really that complicated and does not need an overly complex solution. Using a complex solution often times leads to headaches.
Setting up Elasticsearch when Elasticsearch really isn't needed for the particular application costs more time and money to maintain.

This is where Fist comes in. Fist is intended to be extremely easy to deploy and integrate into your application. Just start the Fist server and start sending commands.

Build and start Fist server

make
./bin/fist
Fist started at localhost:5575

Run Tests

make test

Example Usage

Commands can be sent over a TELNET connection

Commands: INDEX, SEARCH, EXIT, VERSION, DELETE

telnet localhost 5575
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
INDEX document_1 Some text that I want to index
Text has been indexed
INDEX document_2 Some other text that I want to index
Text has been indexed
SEARCH I want to index
["document_1","document_2"]
DELETE I want to index
Key Deleted
SEARCH I want to index
[]
EXIT
Bye

Docker Usage

# Build image
docker build . -t fist:latest

# Run tests
docker run --rm -it fist test

# Run server and make volume for database
docker run -d --init --rm -p 5575:5575 -v /var/local/lib/fist fist

Key Features

  • Full text indexing and searching
  • Persisting data to disk
  • Compression of index file
  • Accessible over TCP connection

Client Libraries

NodeJS

Python

Go

Ruby

Contributors

主要指標

概覽
名稱與所有者f-prime/fist
主編程語言C
編程語言C (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2019-04-19 07:36:08
推送於2019-10-15 15:07:29
最后一次提交2019-10-15 20:37:28
發布數2
最新版本名稱0.0.2 (發布於 )
第一版名稱0.0.1 (發布於 )
用户参与
星數626
關注者數23
派生數52
提交數158
已啟用問題?
問題數25
打開的問題數10
拉請求數25
打開的拉請求數1
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?