feat: add sortableAttributes for createdAt/updatedAt in Meilisearch indexes#12402
Open
mac-eochaidh wants to merge 2 commits intodanny-avila:mainfrom
Open
feat: add sortableAttributes for createdAt/updatedAt in Meilisearch indexes#12402mac-eochaidh wants to merge 2 commits intodanny-avila:mainfrom
mac-eochaidh wants to merge 2 commits intodanny-avila:mainfrom
Conversation
7a6a61f to
0b9dc7c
Compare
bb54f0f to
a9940b7
Compare
…ndexes Adds sortableAttributes configuration to MeiliSearch indexes for createdAt and updatedAt fields. This enables chronological sorting of conversations and messages. Includes unit tests for settings configuration and integration tests for sorting in both directions.
a9940b7 to
19271a7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds sortableAttributes configuration to MeiliSearch indexes for createdAt and updatedAt fields. This enables chronological sorting of conversations and messages in both ascending and descending order. The change includes comprehensive test coverage with unit tests for settings configuration verification and integration tests that validate sorting functionality.
Change Type
Testing
Unit tests and integration tests verify the sortableAttributes configuration.
Test Configuration:
Tests include:
Checklist