SQLite search backend

This commit is contained in:
2023-05-18 14:16:11 -04:00
parent 1cfceba518
commit 944c224904
46 changed files with 3261 additions and 1296 deletions

View File

@@ -92,8 +92,8 @@ void index_json(cJSON *document, const char doc_id[SIST_DOC_ID_LEN]) {
cJSON_free(json);
tpool_add_work(IndexCtx.pool, &(job_t) {
.type = JOB_BULK_LINE,
.bulk_line = bulk_line,
.type = JOB_BULK_LINE,
.bulk_line = bulk_line,
});
free(bulk_line);
}
@@ -606,4 +606,4 @@ char *elastic_get_status() {
free_response(r);
cJSON_Delete(json);
return status;
}
}