Files
opencloud/services
Dominik Schmidt 95f175fe10 perf(search): prune the space fan-out for drive-pinned queries
When top-level AND conjuncts pin the query to a single root
(driveId/RootID restrictions), only that space's index is asked; the
restriction itself stays in the query, so this is purely an
optimization. Conservative by design: any top-level OR, negated or
group-nested restriction leaves the fan-out untouched, searching a
space too many is wasted work while skipping one would be wrong.
Mountpoints are kept for result path mapping.

Costs one extra parse of the query in the service; parsing once and
handing the AST to the engines (which currently re-parse per space) is
a follow-up that changes the engine interface.
2026-08-31 15:23:25 +02:00
..
2026-08-28 23:17:11 +00:00
2026-08-18 17:17:30 +02:00
2026-06-03 16:28:44 +02:00
2026-08-03 13:20:03 +02:00
2026-08-30 23:17:11 +00:00
2026-07-14 18:12:24 +02:00
2026-08-30 23:17:11 +00:00
2026-06-18 15:05:49 +02:00
2026-08-30 23:17:11 +00:00
2026-08-25 09:55:39 +02:00