nxsearch
1.0.0
ทำงานระหว่างดำเนินการ ต้นน้ำที่: https://github.com/rmind/nxsearch
NXSearch เป็นไลบรารีเครื่องมือค้นหาแบบเต็มข้อความซึ่งมีการรวมเว็บเซิร์ฟเวอร์ด้วย
เครื่องยนต์เขียนใน C11 และมีการแจกจ่ายภายใต้ใบอนุญาต BSD 2 ข้อ
เพื่อลองเป็นบริการเว็บ:
# git submodule update --init --recursive # ensure you have submodules
docker-compose up app # spin up the service
open http://127.0.0.1:8000/docs # documentation page ตัวแปรสภาพแวดล้อม NXS_BASEDIR ระบุไดเรกทอรีพื้นฐานซึ่งเอกสารที่จัดทำดัชนีรวมถึงไฟล์ข้อมูลแอปพลิเคชันจะถูกเก็บไว้
# Create the index:
curl -XPOST http://127.0.0.1:8000/test-idx
# Index some test documents:
curl -d " cat dog cow " http://127.0.0.1:8000/test-idx/add/1
curl -d " dog cow " http://127.0.0.1:8000/test-idx/add/2
curl -d " cat cat cat " http://127.0.0.1:8000/test-idx/add/3
# Run a query:
curl -s -d " cat " http://127.0.0.1:8000/test-idx/search | jq Swagger UI พร้อมเอกสารปลายทางมีให้ที่ /docs URL
สามารถพบตัวกรอง LUA API ได้ที่นี่
เอกสาร C API สามารถพบได้ที่นี่