mirror of
https://github.com/simon987/sist2.git
synced 2025-12-13 23:39:04 +00:00
refactor index schema, remove sidecar parsing, remove TS
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
typedef struct database database_t;
|
||||
|
||||
typedef struct index_descriptor {
|
||||
char id[SIST_INDEX_ID_LEN];
|
||||
int id;
|
||||
char version[64];
|
||||
int version_major;
|
||||
int version_minor;
|
||||
@@ -24,4 +24,11 @@ typedef struct index_t {
|
||||
char path[PATH_MAX];
|
||||
} index_t;
|
||||
|
||||
typedef struct {
|
||||
int doc_id;
|
||||
int index_id;
|
||||
long sid_int64;
|
||||
char sid_str[SIST_SID_LEN];
|
||||
} sist_id_t;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user