Dataset search (#18715)
* Move the multimethods over to strings not classes datasets are Cards so don't have a good way to intercept. And this kinda took all of the keywords, turned them into classes, and then didn't actually use those classes-- they were just opaque keys in the hierarchy. No bueno. * Include datasets in search results * Docstring for the linter. Thank you clj-kondo * Fix namespace decls * Update tests * Clean up ns and make test more resilient these tests that test global collections can be sensitive to test order and the CI dbs that continually exist rather than be recreated. Sometimes "table" shows up in these available models. Kinda don't care so just check for subset * Rename for confusion
Showing
- src/metabase/api/search.clj 61 additions, 57 deletionssrc/metabase/api/search.clj
- src/metabase/search/config.clj 33 additions, 34 deletionssrc/metabase/search/config.clj
- src/metabase/search/scoring.clj 2 additions, 5 deletionssrc/metabase/search/scoring.clj
- test/metabase/api/search_test.clj 28 additions, 20 deletionstest/metabase/api/search_test.clj
Loading
Please register or sign in to comment