Commit 58a37ef
committed
Fix toggle mask compilation and evaluation:
- Toggle bitmasks were built from term indices instead of field indices, which is wrong for OR chains that collapse into one field.
- Constrained AND-toggle checks to currently set fields, so OR candidates do not get rejected just because sibling terms in the OR group are unset.1 parent 1f84699 commit 58a37ef
3 files changed
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79953 | 79953 | | |
79954 | 79954 | | |
79955 | 79955 | | |
| 79956 | + | |
79956 | 79957 | | |
79957 | | - | |
| 79958 | + | |
79958 | 79959 | | |
79959 | | - | |
| 79960 | + | |
79960 | 79961 | | |
79961 | | - | |
| 79962 | + | |
79962 | 79963 | | |
79963 | 79964 | | |
79964 | 79965 | | |
| |||
79991 | 79992 | | |
79992 | 79993 | | |
79993 | 79994 | | |
79994 | | - | |
| 79995 | + | |
79995 | 79996 | | |
79996 | 79997 | | |
79997 | 79998 | | |
| |||
85454 | 85455 | | |
85455 | 85456 | | |
85456 | 85457 | | |
85457 | | - | |
| 85458 | + | |
85458 | 85459 | | |
85459 | 85460 | | |
85460 | 85461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| 774 | + | |
774 | 775 | | |
775 | | - | |
| 776 | + | |
776 | 777 | | |
777 | | - | |
| 778 | + | |
778 | 779 | | |
779 | | - | |
| 780 | + | |
780 | 781 | | |
781 | 782 | | |
782 | 783 | | |
| |||
809 | 810 | | |
810 | 811 | | |
811 | 812 | | |
812 | | - | |
| 813 | + | |
813 | 814 | | |
814 | 815 | | |
815 | 816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments