Commit Graph

101 Commits

Author SHA1 Message Date
6beccbb96b Rename indexes, once again. 2024-05-22 19:00:48 +02:00
3b9e56451a s/Indexer/Index/ 2024-05-22 18:38:26 +02:00
633085f63b Massive class renaming. 2024-05-22 18:29:08 +02:00
7272b9fe6f Partitions gets a new get_with_keys? function, for consistency. 2024-05-22 05:34:36 +02:00
8ee628d640 FOR CONSISTENCY 2024-05-22 05:13:24 +02:00
7a342f8391 Removes a lot of duplicated code. 2024-05-22 05:05:18 +02:00
087784a620 Tags: code refactoring and consistency improvement. 2024-05-22 03:56:44 +02:00
0549879140 API change: get_with_index -> get_with_keys 2024-05-21 20:57:44 +02:00
378f8c76db Documentation, again. Some very few re-implementations. 2024-05-21 20:50:28 +02:00
c5f57b589d Documentation goes brrrr. 2024-05-21 13:50:25 +02:00
8d323c2a8c Documentation about partitions. 2024-05-21 02:11:01 +02:00
be1ec6a1db Documentation for basic indexes. 2024-05-21 01:59:39 +02:00
3c0e1b7608 Documentation, again. 2024-05-20 20:55:07 +02:00
78d6db2cc4 Documentation goes brrrrr 2024-05-20 13:38:58 +02:00
df705543b6 Documentation, a few implementations rewritten, make source more consistent. 2024-05-20 13:10:17 +02:00
39b427886f spec/test-ships.cr: tests are passing. 2024-05-20 03:14:47 +02:00
8a44828cf2 Nilable indexes taken into account. 2024-05-20 03:05:59 +02:00
6dbcee5060 Finally add some real API documentation. 2024-05-20 01:28:33 +02:00
58d7147752 Blah. 2024-05-19 18:09:19 +02:00
ab139f4f52 Remove nilable indexes. 2024-05-17 19:47:11 +02:00
5a2f17f7e0 Enable all indexes (index, partition, tag) to be nilable. 2024-05-15 14:17:15 +02:00
2a71254533 s/exists?/symlink?/ + remove useless check + remove useless call to a function. 2024-05-15 14:17:15 +02:00
d29b29bc1b Slight optimization in tag searches. 2024-05-15 14:17:15 +02:00
5bf6b21d5d Rewrites lead to a working spec file. 2024-05-15 14:17:15 +02:00
42b82c8fa5 More consistent API. 2024-05-15 14:17:15 +02:00
b3e416da8d Block captures fixed. 2024-05-15 14:17:15 +02:00
a141849f2a Fix delete functions for tags & partition. 2024-05-15 14:17:15 +02:00
031175a90a TODO: RAMOnlyTags + tests tests tests. 2024-05-15 14:17:15 +02:00
401578c77d Index: change get_key to either walk the FS or the cached db index. 2024-05-07 14:53:03 +02:00
bb6d9a26f7 Don't clone data by default. User can clone only when relevant. 2024-05-07 13:05:01 +02:00
cab18cd26b Call a simpler function. 2024-05-07 01:37:46 +02:00
b4460e59fa For cached databases: clone the requested value to avoid problems. 2024-05-07 01:34:15 +02:00
351df7426f Fix partition implementation. 2024-05-07 00:03:07 +02:00
b590cb9e0f Only catches "File Not Found" error while deleting a value in dodb.cr. 2024-05-07 00:01:31 +02:00
8dfbe28986 Fix cached indexes not working when databases aren't reindexed on start. 2024-05-06 23:52:17 +02:00
7404411ec5 MissingEntry -> KeyError 2024-05-06 21:24:34 +02:00
8a585a2679 MissingEntry -> KeyError 2024-05-06 20:32:27 +02:00
0dc384dd79 Enable "get?" functions for partitions and tags. 2024-05-06 20:20:07 +02:00
183432eb32 Cached indexes by default. 2024-05-06 18:31:52 +02:00
061e945384 Add cached indexes (index, partition, tag): we are now 500x faster. 2024-05-06 13:02:14 +02:00
f5c9d1a7f2 Remove ".json" suffix in the generated files. 2024-05-06 11:47:07 +02:00
96f290eb40 Add a warning message on directed graphs. 2024-05-06 11:38:22 +02:00
197af64c83 Way faster searches by indexes (index, partition, tags) with a cached DB. 2024-05-05 00:43:15 +02:00
9fed7145e5 Index: print the symlink path on collision. 2024-05-02 23:41:21 +02:00
bcfe5d44d6 Tags should now be working as expected. 2024-04-26 23:26:56 +02:00
7584c3acc0 Rewrite of the tag mechanism. Tests are needed. 2024-04-26 19:35:00 +02:00
35f5c52cbc O_EXCL is now correctly implemented in std. 2023-05-03 03:52:10 +02:00
4792d8878f Preserves incoming links on deindex. 2020-10-29 18:03:46 +01:00
db7fddb803 Fixes symlink broken in some situations. 2020-10-29 14:47:52 +01:00
692e26e816 DirectedGraph fixes. 2020-10-29 14:32:52 +01:00