Commit b394fce
Fix EqualsFilter to handle compound indexes correctly
The numeric path in applyOnIndex now properly handles both single-field
indexes (List) and compound indexes (NavigableMap) using processIndexValue.
This fixes the test failures in CollectionCompoundIndexTest.testIssue178
and RepositorySearchTest.testFindByEntityId.
Co-authored-by: anidotnet <696662+anidotnet@users.noreply.github.com>1 parent 69212c0 commit b394fce
File tree
1 file changed
+10
-7
lines changed- nitrite/src/main/java/org/dizitart/no2/filters
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 56 | + | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments