-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(searchindex): search index wasn't exported #930
Conversation
The search index decorator (`@searchIndex()`) was added in `v12.3.0` in PR typegoose#921 but I neglected to actually export the decorator so it isn't currently available for use.
Hey @hasezoey, I screwed up and forgot to actually export the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #930 +/- ##
=======================================
Coverage 98.67% 98.68%
=======================================
Files 18 18
Lines 984 985 +1
Branches 252 264 +12
=======================================
+ Hits 971 972 +1
Misses 13 13 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, didnt check that too; though it was available if directly importing (nothing was preventing it) like import * from "@typegoose/typegoose/searchIndexes.js"
🎉 This PR is included in version 12.3.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 12.4.0-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
When I apply the searchIndex decorator to a model, along with setting autoSearchIndex to true in the modelOptions, I expect to see the automatically created index when I go to my atlas cluster in the Search Indexes tab. I see Indexes but I do not see Search Indexes. What am I doing wrong? |
@jonny-dungeons please open a new issue or discussion i dont know how long it takes to create such indexes, so maybe try if that does not fix it, maybe try debugging with |
The search index decorator (
@searchIndex()
) was added inv12.3.0
in PR #921 but I neglected to actually export the decorator so it isn't currently available for use.Related Issues