srchx
v1.2
blevesearch위에 구축 된 독립형 가벼운 풀 텍스트 검색 엔진은 여러 스토리지 (scorch,boltdb,leveldb,badgerdb)와 함께Go.
Go 런타임 덕분에 전체 CPU 코어를 사용합니다.badgerdb (Pure Go RocksDB 대안), boltdb , leveldb , scorch .POST 필요가 없습니다../srchx 로 바꿉니다chmod +x ./srchx 실행하십시오./srchx --help 실행하십시오 # Example 1
# Add new document to the index "twitter" and type "tweet"
$ curl --request POST
--url ' http://localhost:2050/twitter/tweets/_doc/new '
--header ' Content-Type: application/json '
--data ' {
"user": "u5",
"content": "this is my tweet",
"views": 5
} '
# Example 2
# Fetch the previously added document using its ID
$ curl http://localhost:2050/twitter/tweets/_doc/2552b636-002e-4f1a-98b1-bdb06c2464ac
나는 Postman에 API 문서를 예제와 함께 게시했습니다.
큰 변화를 일으키는 작은 물건을 만드는 것을 좋아하는 고퍼.