Commit Graph

68 Commits

Author SHA1 Message Date
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02: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
Oliver Sand 532b4cc656 Rework search paging based on cursors
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-02 10:22:41 +02:00
Oliver Sand 3abef1177e Implement offset and limit based paging in Lunr search engine
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-02 10:19:32 +02:00
github-actions[bot] e7130884a0 Version Packages 2021-08-26 11:25:27 +00:00
github-actions[bot] 326cbd7408 Version Packages 2021-08-05 00:24:56 +00:00
Jussi Hallila d9c13d535b Implement ElasticSearch search engine
* Adding indexing, searching and default translator for ElasticSearch engine
* Modifying default backend to use ES if it is enabled
* Adding configuration schema to configure ElasticSearch 3 different ways
   * Elastic.co hosted solution
   * AWS hosted ElasticSearch Service
   * Custom, using standard ElasticSearch URL and auth info
* Add and modify some of the documentation regarding search

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-07-30 14:26:32 +02:00
github-actions[bot] 8d1c3d0d5a Version Packages 2021-07-15 09:19:25 +00:00
Patrik Oldsberg d9ce823b00 packages: regenerate all API reports with warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-15 02:05:46 +02:00
Patrik Oldsberg 602b5b59bb packages: regenerate all API reports with prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:54:11 +02:00
Oliver Sand 97b2eb37b2 Change return value of SearchEngine.index to Promise<void>
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-07-09 11:26:42 +02:00
github-actions[bot] de67704be9 Version Packages 2021-07-08 11:37:02 +00:00
Oliver Sand d4507650bd Merge pull request #6381 from SDA-SE/feat/better-lunr-results
Build search queries using the query build in `LunrSearchEngine`
2021-07-08 11:43:28 +02:00
Oliver Sand 9f3ecb555a Build search queries using the query build in LunrSearchEngine
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-07-07 19:41:54 +02:00
Oliver Sand 96b40870b3 Merge pull request #6362 from SDA-SE/feat/techdocs-scheduler
Make sure that the search scheduler doesn't run to many tasks in parallel
2021-07-07 19:33:07 +02:00
Rogerio Angeliski 7a74046f16 docs: added generated files
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:41 -03:00
Rogerio Angeliski 93f8e8b423 Revert "docs: added generated files"
This reverts commit b2cefb34e0d4640cc5bb675d05d0ea906d74eec8.

Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:41 -03:00
Rogerio Angeliski 1cdc4ba0e2 docs: added generated files
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:40 -03:00
Oliver Sand 0466606d84 Add test for runPeriodically
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-07-06 18:58:06 +02:00
Oliver Sand 03715ceaa4 Add comment and remove initial run
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-07-06 16:37:38 +02:00
Oliver Sand 4176a60e50 Make sure that the search scheduler doesn't run to many tasks in parallel
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-07-06 15:19:59 +02:00
github-actions[bot] 5a64fe7ea5 Version Packages 2021-06-24 09:58:38 +00:00
Eric Peterson c086a1cd92 Merge pull request #6134 from SDA-SE/feat/default-catalog-collator-error
Handle errors in collators and decorators and log them
2021-06-22 16:22:14 +02:00
Jesse Bye 3ec487502e Add test case; update changeset message
Signed-off-by: Jesse Bye <jbye@riskalyze.com>
2021-06-22 10:50:28 +02:00
Jesse Bye 7e7cec86ac Escape colons in Lunr search query filters
Signed-off-by: Jesse Bye <jbye@riskalyze.com>
2021-06-22 10:49:53 +02:00
Oliver Sand 9c8ea7e24e Handle errors in collators and decorators and log them.
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-21 18:22:30 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Patrik Oldsberg 820de63018 Merge pull request #6076 from backstage/rugvip/allreports
scripts/api-extractor: create and check API reports for all(most) plugins
2021-06-17 15:46:11 +02:00
Patrik Oldsberg d8d7226fce plugins: generate api reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 13:30:06 +02:00
github-actions[bot] 36e5a82e9b Version Packages 2021-06-17 08:08:44 +00:00
Oliver Sand 6f0b0c1a33 Add tests for stemming and trimming
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-16 14:43:25 +02:00
Kevin facbe60532 fix: results are not accurate for search
Signed-off-by: Kevin <dl_xq@sina.com>
2021-06-16 15:36:04 +08:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
Eric Peterson bbcd246cc8 Update search plugin READMEs to reflect new state of reality.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 21:18:14 +02:00
Eric Peterson 0a032c55ce Fix bug causing search to be empty initially.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 20:09:28 +02:00
Eric Peterson 8cb45d747a Make the QueryTranslator a more integral part of the SearchEngine API
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Eric Peterson 455b97b127 Make type(s) readonly properties of Collator/Decorator classes
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Eric Peterson b9b26ec572 Update decorator type-specific decorator test
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Eric Peterson f131c3de21 Fix Lunr tests to match new translation logic.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Emma Indal 720fd2f360 prettier
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Eric Peterson 1f3e6dff88 Pass result type along from search engine.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal 8829e8228e wip composable result list
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal 94d1d852e1 update lunr search query filters
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal af6a718e82 change term presence in lunr query
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02: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] 44abfaada6 Version Packages 2021-04-29 13:35:03 +02:00
Emma Indal 6c46febf63 Add tests for Scheduler
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-27 11:08:37 +02:00
Emma Indal 4906a4c221 rename test file to be more specific to IndexBuilder
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-27 11:07:55 +02:00