The java sdk of meilisearch was also nice, same: no need for a cli and manual configuration. I just pointed it to a db entity and indexed whole tables...
Would love that for tantivy
Yes that's how you use tantivy normally, not sure which json config you mean.
tantivy-cli is more like a showcase, https://github.com/quickwit-oss/tantivy is the actual project.
But instead of this, I would prefer some way to just hand it JSON and for it to just index all the fields...
for comparison, this is my meilisearch SDK code:
fun createCustomers() {
val client = Client(Config("http://localhost:7700", "password"))
val index = client.index("customers")
val customers = transaction {
val customers = Customer.all()
val json = customers.map { CustomerJson.from(it) }
Json.encodeToString(ListSerializer(CustomerJson.serializer()), json)
}
index.addDocuments(customers, "id")
}Thanks!
quickwit was built to handle extremely large data volumes, you can ingest and search TB and PB of logs.
meilisearches indexing doesn't scale as it will become slower the more data you have, e.g. I failed to ingest 7GB of data.
Some of us have specific principles of which things like opt-out telemetry might run afoul.
OP will choose their software, I choose mine and you choose yours; none of us need to call each other petty or otherwise cast such negative judgement; a free market is a free market.
Feel free to explain how either of the two comments of yours I've replied to represent principled discussion or added value, because I'm not seeing it.
[1]: https://www.meilisearch.com/docs/learn/what_is_meilisearch/t...