8000 Sub object filtering by ljluestc · Pull Request #5871 · meilisearch/meilisearch · GitHub
[go: up one dir, main page]

Skip to content

Conversation

ljluestc
Copy link

Related Issues

Changes

Safer cURL Installation (#2317)

  • Updated download-latest.sh to use secure cURL flags (--proto '=https', --tlsv1.2, --fail).
  • Added CI workflow (test-installation-script.yml) to verify the script on Ubuntu, macOS, and Windows.
  • Updated installation documentation to recommend inspecting scripts before execution.

Whole Sub-Object Filtering (#3642)

  • Added support for filtering on entire sub-objects using the syntax field { condition1 AND condition2 }.
  • Implemented new filter parser, sub-object filter logic, and indexing support.
  • Added deduplication of document IDs using strip_sub_object_bits.
  • Created comprehensive tests in sub_object_filtering.rs.
  • Added documentation in sub-object-filtering.md.

Requirements

  • Automated tests have been added (test-installation-script.yml, sub_object_filtering.rs).
  • Manual rigorous tests applied (please review test coverage).
  • No database changes, so no DB tests required.
  • Documentation updated (sub-object-filtering.md, installation docs).
  • Cloud UI and integrations (TBD, please advise if needed).

Testing

  • cURL Installation:
    • Tested script on Ubuntu, macOS, and Windows.
    • Verified secure flags and failure handling.
  • Sub-Object Filtering:
    • Tested with sample dataset to ensure users { name = kero AND age = 28 } returns correct documents.
    • Verified backward compatibility with traditional filters.
    • Tested edge cases (empty arrays, missing fields).

@ljluestc ljluestc marked this pull request as draft August 31, 2025 19:18
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.

Technical thoughts on supporting whole-sub-object filtering Safer cURL installation
1 participant
0