srchx
v1.2
Un motor de búsqueda de texto completo ligero independiente construido sobre
blevesearchyGocon almacenamiento múltiple (scorch,boltdb,leveldb,badgerdb)
Go Runtime.badgerdb (alternativa Pure Go Rocksdb), boltdb , leveldb , scorch .POST sus datos en el punto final de indexación../srchxchmod +x ./srchx./srchx --help para ver información de ayuda # 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
Publiqué los documentos de API en cartero aquí con ejemplos.
Un gopher al que le gusta construir cosas pequeñas que hacen grandes cambios.