nxsearch
1.0.0
진행중인 작업 . 업스트림에서 : https://github.com/rmind/nxsearch
NXSearch 는 웹 서버 통합과 함께 제공되는 전체 텍스트 검색 엔진 라이브러리입니다.
엔진은 C11로 작성되었으며 2- 클라스 BSD 라이센스에 따라 배포됩니다.
웹 서비스로 시도하려면 :
# 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 문서는 여기에서 찾을 수 있습니다.