mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-18 17:27:11 +00:00
index-only scans for pubkey+kind
This commit is contained in:
@ -168,8 +168,7 @@ struct NostrFilter {
|
||||
|
||||
if (limit > maxFilterLimit) limit = maxFilterLimit;
|
||||
|
||||
indexOnlyScans = numMajorFields <= 1;
|
||||
// FIXME: pubkeyKind scan could be serviced index-only too
|
||||
indexOnlyScans = (numMajorFields <= 1) || (numMajorFields == 2 && authors && kinds);
|
||||
}
|
||||
|
||||
bool doesMatchTimes(uint64_t created) const {
|
||||
|
Reference in New Issue
Block a user