Skip to content

refactor!: Refactor Extension for Multi-Collection Support (port of #129)#136

Merged
kishorenc merged 14 commits intotypesense:masterfrom
tharropoulos:multi-collection
Mar 23, 2026
Merged

refactor!: Refactor Extension for Multi-Collection Support (port of #129)#136
kishorenc merged 14 commits intotypesense:masterfrom
tharropoulos:multi-collection

Conversation

@tharropoulos
Copy link
Copy Markdown
Collaborator

Change Summary

Check #129

PR Checklist

- implement comma-separated parameter parsing for multiple collections
- add pipe-separated field mapping and boolean list parsing
- create dynamic collection configuration map with validation
- maintain backward compatibility with single collection parameters
…t suite

• add createTypesenseDocument function with collection-specific config support
• replace separate flattening/non-flattening test files with unified test suite
…d subcollections

• refactor indexOnWrite to dynamically generate functions for multiple collections
• add handleDocumentIndexing function for centralized document processing
• replace old test files with comprehensive multi-collection test suites
• support subcollections with context parameter extraction and handling
… subcollections

• refactor backfill to process multiple collections with dynamic validation
• add backfillCollection function for centralized collection processing
• replace old test files with multi-collection test suites
• support subcollections with context parameter extraction and field filtering
• update logging and error handling for better multi-collection support
• fix test configuration to work with new multi-collection setup
@kishorenc kishorenc merged commit 26d6865 into typesense:master Mar 23, 2026
6 checks passed
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.

2 participants