Commit Graph

123 Commits

Author SHA1 Message Date
Fredrik Adelöw 7455dae884 require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-26 13:22:53 +01:00
Jordan Snow 9353f6e3f9 Test fix and vocab addition
Signed-off-by: Jordan Snow <jordans@spotify.com>
2025-11-21 10:40:19 -05:00
Jordan Snow 4d3ddb99b6 Changing tokenizer seperator for seach indexing
Signed-off-by: Jordan Snow <jordans@spotify.com>
2025-11-20 16:23:32 -05:00
Paul Schultz 05f60e1e0a refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-10-14 08:29:21 -05:00
Camila Belo fc24d9ebf0 refactor: stop using backend-tasks in packages and plugins
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-19 15:48:21 +02:00
Johan Haals d897ce63d6 Remove backend-common dependency
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-15 13:43:32 +02:00
Camila Belo 737f3ae5ef Merge branch 'master' into camilaibs/nbs10-deprecate-legacy-system-commons
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-21 15:12:02 +02:00
Patrik Oldsberg 021d4cbfd1 Update plugins/search-backend-node/src/alpha.ts
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-05-16 15:42:09 +02:00
Brian Phillips b1ea88559c rename method per code review feedback
Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
2024-05-16 08:11:25 -05:00
Camila Belo eb34b87d5a refactor: stop using getVoidLogger in tests
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-16 09:21:54 +02:00
Brian Phillips 5ce928b93a Split search index service startup into a build and start phase
Fixes #24794. The build process takes place synchronously to the plugin
initialization rather than at startup so that the HTTP router has the
relevant types available to validate incoming requests.

Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
2024-05-15 11:02:25 -05:00
Heikki Hellgren c6cb568f39 feat: add missing lifecycle monitoring for catalog, search and server
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-22 15:03:15 +03:00
Heikki Hellgren d5a1fe189b chore: change most of plugins to use LoggerService
quite a big PR for this but the changes are pretty stright forward.
hopefully gets merged before most of these plugins move to the community
repository.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-13 02:10:13 +03:00
Camila Belo 62346b79a7 refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-02-27 16:40:38 +01:00
Camila Belo 744c0cbf97 refactor(search-backend): use credential for authorized search engines
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-02-26 10:49:11 +01:00
Camila Belo 7b1296c57a refactor(search): use string construction for non-text values
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-10-19 09:29:35 +02:00
Camila Belo ad67a33d09 fix(search-backend-node): non-string field hightlight
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-10-19 09:29:35 +02:00
Camila Belo 70d4f7b0ed fix(search): Lunr result fields highlight
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-07-21 09:51:44 +02:00
Camila Belo 9d66746737 Update readme files and api reports
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-03-21 10:19:28 +01:00
Emma Indal 05c132cbed rename type from IndexServiceBuildOptions to SearchIndexServiceStartOptions
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
2023-03-21 09:30:09 +01:00
Emma Indal 5db02fc935 generate api reports
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
2023-03-20 13:29:09 +01:00
Emma Indal 4cc252bdd5 use alpha exports
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
2023-03-20 13:29:03 +01:00
Emma Indal bf54977e68 remove getter methods on interfaces
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
2023-03-20 13:22:37 +01:00
Emma Indal d5fe020807 update plugin id to match naming conventions
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-03-20 13:22:37 +01:00
Emma Indal 97e5d514d1 create backend modules for search engines
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-03-20 13:22:28 +01:00
Camila Belo b49c312875 feat(search): create search services and extension points
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-03-20 13:21:27 +01:00
Emma Indal 49fe8c2000 define interfaces for extension points and services
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
2023-03-20 13:21:27 +01:00
Johan Haals 4ae89dbce6 backend-common: Remove read method from UrlReader
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-01-02 16:34:54 +01:00
Joe Patterson 011bd518b7 Update docs for all spelling errors, and add auth0 session and spec.presence
Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
2022-12-20 16:50:51 +01:00
Eric Peterson 18646ccb1a Update lunr engine to preserve pre-existing indices if indexer receives 0 documents
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-12-01 17:29:12 +01:00
Eric Peterson 9467500482 Merge pull request #14794 from philberryman/feat/analytics-number-of-search-results
add number of searches
2022-11-30 12:09:14 +01:00
Fredrik Adelöw de8a975911 remove usages of node-abort-controller
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-28 17:04:49 +01:00
Eric Peterson aff7351fa5 Use non-deprecated TestPipeline static methods
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-11-25 15:22:32 +01:00
Eric Peterson 54c5836f7a Deprecate withSubject() in favor of type-specific methods
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-11-25 15:22:30 +01:00
Phil Berryman 29ebc43a0b feat: add number of searches
Signed-off-by: Phil Berryman <phil@berryman.org.uk>
2022-11-25 00:13:05 -08:00
Camila Belo 9b1109858c fix(search-backend-node): max listeners exceeded warning
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-11-22 11:42:33 +01:00
Eric Peterson 81b1e7b0fe Simplify base classes by using stream _construct methods
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-11-18 14:47:19 +01:00
Brian Fletcher 1bbe66c27b move wait into try block
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-11-17 11:09:34 +00:00
Brian Fletcher a962ce0551 wait for initialize to complete before finalize
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-11-16 14:06:12 +00:00
Eric Peterson 8006f8a602 Tag indexing logs with document type
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-10-10 18:02:33 +02:00
Camila Belo 60a912cd2c Rename param to page limit and validate its type
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-04 10:54:09 +02:00
Emma Indal 814c8a61f6 Search engines to use resultPerPage param if provided
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-10-04 10:54:09 +02:00
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
Emma Indal 0c42005843 Merge pull request #13297 from swenhan/master
Fix in-doc search no result when title has stopwords
2022-08-29 11:05:31 +02:00
Seow Wen Han 5e14cea98b Fix in-doc search not working when stopword is in title (#1)
* Trying to reproduce stop-word error but couldn't

* Update and add appropriate test case for stop-word testing

* Implement fix for stopword in title, add unit test case

Signed-off-by: Seow Wen Han <wseow@seekasia.com>
2022-08-23 14:10:50 +08:00
Fredrik Adelöw 3f739be9d9 more api cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 15:16:19 +02:00
Emma Indal f22df2248d delete deprecations
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-07-18 10:09:01 +02:00
Camila Belo dcba440459 refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-07-05 12:02:21 +02:00
Camila Belo 06f9999f4b feat(search-backend-node): check types in error handling
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-28 13:47:58 +02:00
Camila Belo 8e63e71b2c feat(search-backend-node): improve error handling
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-28 11:59:49 +02:00