mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 17:37:43 +00:00
use custom packing for indexable data: PackedEvent
This commit is contained in:
@ -72,7 +72,8 @@ void cmd_sync(const std::vector<std::string> &subArgs) {
|
||||
|
||||
for (auto levId : levIds) {
|
||||
auto ev = lookupEventByLevId(txn, levId);
|
||||
ne.addItem(ev.flat_nested()->created_at(), sv(ev.flat_nested()->id()).substr(0, ne.idSize));
|
||||
PackedEventView packed(ev.packed());
|
||||
ne.addItem(packed.created_at(), packed.id().substr(0, ne.idSize));
|
||||
}
|
||||
|
||||
LI << "Filter matches " << numEvents << " events";
|
||||
|
Reference in New Issue
Block a user