Tantivy (Tantivy v0.1.0)

Documentation for Tantivy.

Link to this section Summary

Functions

add one or more document to the database

Returns a specification to start this module under a supervisor.

remove a document from the database

perform a query with limit

update a document in the database

Link to this section Functions

Link to this function

add(server, doc)

Specs

add(GenServer.server(), map() | list()) :: :ok

add one or more document to the database

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

receive_data(map, data, seq)

Link to this function

remove(server, id)

Specs

remove(GenServer.server(), integer()) :: :ok

remove a document from the database

Link to this function

search(server, query, limit \\ 100)

Specs

search(GenServer.server(), String.t(), integer()) :: list()

perform a query with limit

Link to this function

update(server, id, doc)

Specs

update(GenServer.server(), integer(), map()) :: :ok

update a document in the database