Commit Graph

27 Commits

Author SHA1 Message Date
github-actions[bot] a94a2b8b3f Version Packages (next) 2022-01-18 13:49:07 +00:00
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
github-actions[bot] 3d68c45ef7 Version Packages 2021-12-23 12:23:34 +00:00
github-actions[bot] 9068128fd8 Version Packages 2021-12-09 12:02:28 +00:00
github-actions[bot] 29f2606ed9 Version Packages 2021-12-02 12:35:24 +00:00
github-actions[bot] ef34f5de7b Version Packages 2021-11-25 12:40:52 +00:00
github-actions[bot] 99bf179ccf Version Packages 2021-11-18 11:52:08 +00:00
github-actions[bot] bf5090e59d Version Packages 2021-10-21 13:28:13 +00:00
Patrik Oldsberg 71f6356390 plugins: add package descriptions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:33:40 +02:00
github-actions[bot] 45a681aa6a Version Packages 2021-09-02 10:41:57 +00:00
github-actions[bot] e7130884a0 Version Packages 2021-08-26 11:25:27 +00:00
github-actions[bot] 6f4c73ece4 Version Packages 2021-08-19 12:20:01 +00:00
github-actions[bot] 8d1c3d0d5a Version Packages 2021-07-15 09:19:25 +00:00
github-actions[bot] de67704be9 Version Packages 2021-07-08 11:37:02 +00:00
github-actions[bot] 36e5a82e9b Version Packages 2021-06-17 08:08:44 +00:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Emma Indal b9b2b4b766 [Search] Lunr search engine support (#5290)
* add lunr package

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add search translator type and search engine interface

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* (wip) add support for lunr search engine

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* lunr search engine support

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up todo comments

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* typing and cleanups

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move lunr type package from dev deps to deps

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* check if documents exist to index

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* test fixup

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move LunrSearchEngine.ts to /engines and add tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update error message

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add comment to index rotation

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/types.ts

Signed-off-by: Fredrik Adelöw freben@gmail.com

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use type assertion to specify more specific ConcreteLunrQuery type

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* consistent naming

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* change search engine to be parameter of constructor in indexBuilder

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* make engine required in router options and pass it through in createRouter used in standalone server

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* delete import

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add types to SearchQuery interface to make it possible to scope to specific index + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* handle case when a filter is added on a field that does not exist on all documents + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-04-22 15:03:10 +02:00
dependabot[bot] 66ed65899f chore(deps-dev): bump supertest from 4.0.2 to 6.1.3
Bumps [supertest](https://github.com/visionmedia/supertest) from 4.0.2 to 6.1.3.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v4.0.2...v6.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 04:38:27 +00:00
github-actions[bot] 844da89090 Version Packages 2021-03-25 17:46:13 +00:00
Fredrik Adelöw 4d248725e6 detach the badges plugin from the catalog plugin
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-25 14:37:41 +01:00
Anders Näsman 5e70312d67 unwind dependencies
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:42:04 +01:00
Anders Näsman 4abd922fb5 moved types from search-backend to search-common
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:42:04 +01:00
Eric Peterson 04b492d404 Use IndexableDocument in search result set.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:38:45 +01:00
Anders Näsman 2c58ccaeee initial search-backend setup
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:38:44 +01:00