Skip to content

Fix filters with values missing from the index (2.4.5) - #156

Merged
cigolpl merged 2 commits into
masterfrom
fix-missing-filter-values
Nov 16, 2026
Merged

cigolpl merged 2 commits into
masterfrom
fix-missing-filter-values

Conversation

@cigolpl

@cigolpl cigolpl commented Nov 16, 2026

Copy link
Copy Markdown
Member

Fixes #155

  • AND filter whose first value is not indexed was ignored, so results depended on the order of values
  • filters combined with not_filters always returned no items
  • ids/_ids not present in the index came back as undefined items
  • runtime facet values with spaces or colons matched nothing

Regression tests added in tests/searchSpec.js. Bumps version to 2.4.5.

- AND filter whose first value is not indexed was ignored, so results
  depended on the order of values (fixes #155)
- filters combined with not_filters always returned no items
- ids/_ids not present in the index came back as undefined items
- runtime facet values with spaces or colons matched nothing
@cigolpl
cigolpl merged commit c0c7587 into master Nov 16, 2026
2 checks passed
@cigolpl
cigolpl deleted the fix-missing-filter-values branch November 16, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AND filter is ignored when its first value does not occur in any item

1 participant