-
Notifications
You must be signed in to change notification settings - Fork 22
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
configurable/smarter searchIndices #1609
Comments
After discussion the way to go here seems to be:
ndb-core/src/app/core/ui/search/search.component.ts Lines 126 to 146 in 5a2f909
|
🎉 This issue has been resolved in version 3.19.0-master.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.19.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
search indices should usually be done on any of the toString attributes. Additionally we could introduce an static entity property
searchIndices
similar to the toStringAttributes, to make search indexing configurable. The heuristic of a "name" and "projectnumber" property for Child entity is not good enough for other use cases.always index toString parts
allow a static entity type configsearchIndices
similar totoStringAttributes
implement a "recalculate all search indices" button in the AdminComponent to be able to update existing data for index changes (or should we create that index differently so that entities themselves don't have to be changed ...?)rewrite the search index logic to generate a pouchdb query based on schemas dynamically instead of relying on a searchIndices function on the entity classes
The text was updated successfully, but these errors were encountered: