You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(database): add index creation to database seeding process
This commit introduces a new step in the database seeding process to ensure that necessary text search indexes are created on the 'headlines', 'topics', and 'sources' collections. The `_ensureIndexes` method is added to the DatabaseSeedingService class and is called at the beginning of the `seedInitialData` method.
The new indexes will enable efficient text searches on the 'title' field of headlines, the 'name' field of topics, and the 'name' field of sources. This enhancement is crucial for improving the performance of search operations within the application.
0 commit comments