mango: simplify implementation of empty selector tests
Remove unused imports and make the definition of test suites less
handcrafted via multiple inheritance. This representation makes
it possible for developers to add tests as class-specific methods
when required, much like it happened for `03-operator-test`.
2d0e6a5...
by
Robert Newson <email address hidden>
Merge pull request #4660 from pgj/fix/mango_idx_nouveau-regex
fix(`mango`): chase `idx_text` changes for Nouveau
Commit f40147b2 was not added for the Nouveau index module. This
could lead to a failure when `indexable_fields/1` is called with a
selector that contains the `$regex` operator.
c892a26...
by
Robert Newson <email address hidden>
Merge pull request #4664 from apache/dropwizard-4.0.1
upgrde to dropwizard 4.0.1
e3eb6df...
by
Robert Newson <email address hidden>
Fix undefined range in mem3_rep purge replication logic
When replication jobs are started with just shard names (paths), mem3_rep
creates `#shard{}` records from those and fills in some fields like `name` and
`node`. However we had left the `range` field as `undefined`. Until a recent
fix to avoid duplicating document purges [1], we didn't care about ranges, so
it was just untidy but not a big problem. Since the fix, we rely on having a
proper ranges and would get function or case clause errors during purge infos
pulling and pushing operations.
The fix is to use the `mem3:range/1` function to obtain the range based on the
shard path if we can. In some cases we may replicate node local databases, so
we still have to account for the cases that ranges may be `undefined`.
In addition to the fix, improve the tests coverage by testing replication of
purges and local endpoints. Also, take the opportunity to clean up the
mem3_rep_tests suite to use the newer `?TDEF_FE` macro.
The definition does not exploit the possibilities of fold left, it
behaves much like a mapping. Using `lists:map` here makes this
explicit, which may help with readability and may be implemented
in a more specialized manner.
16f47d7...
by
Robert Newson <email address hidden>
Merge pull request #4654 from apache/lucene-9.7.0
upgrade nouveau to lucene 9.7.0
d9b4c19...
by
Robert Newson <email address hidden>