Files
opencloud/services
Dominik Schmidt f6739f552d fix(search): bind a leading NOT to the term right after it, on both backends
A leading NOT next to an operator was miscompiled: the bleve compiler left the consumed term in `next`, so `NOT x AND y` dropped `y` and produced a self-contradicting clause; the OpenSearch transpiler checked nextOp==AND before prevOp==NOT, so the negated term landed in `must` instead of `must_not`. NOT is unary and binds to the node directly after it regardless of what follows. This also fixes `mediatype:file AND <term>` (the web Files filter) at the root, so the earlier mediatype:file group workaround is dropped.
2026-08-31 13:40:42 +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