mirror of
https://github.com/simon987/sist2.git
synced 2025-12-16 00:39:04 +00:00
SQLite search backend
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user