Closed mirzov closed 1 year ago
After an extra investigation it is clear that the culprit is the offset. It's impossible to "magically" optimize the offset when a non-magic basic statement pattern appears in the query (one cannot know how many of the data objects actually do have the property in question). So, the offset and limit are necessarily non-magical in this case.
The query:
Asking for file name instead of the hashsum is fast, and used to be fast even when the file names were stored in the database only (not in the "magic" index).