angular-cn/aio/tests/e2e/src
Pete Bacon Darwin 55f7f1d446 feat(docs-infra): improve search query processing (#41368)
This commit tries to improve the search results by processing
the query and attempting progressively less restrictive searches
until a non-zero set of pages is matched.

The new procesing includes:

* stripping off quote marks, which were causing searches to fail
* first attempting to match pages where ALL the query terms exist
* second attempting to match pages where ANY of the query terms exist
* third attempting to match pages where the title contains partial word matches

The first query attempt approximates, quite well, the idea of searching
for multi-word phrases. This is given the technical nature of the terms
and the fairly small size of the corpus.

PR Close #41368
2021-04-01 12:02:37 -07:00
..
api-list.e2e-spec.ts build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00
api-pages.e2e-spec.ts build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00
api.po.ts build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00
app.e2e-spec.ts feat(docs-infra): improve search query processing (#41368) 2021-04-01 12:02:37 -07:00
app.po.ts feat(docs-infra): add shortcuts for the angular.io PWA (#40393) 2021-01-15 10:38:39 -08:00
onerror.e2e-spec.ts build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00
pwa-manifest.e2e-spec.ts feat(docs-infra): add shortcuts for the angular.io PWA (#40393) 2021-01-15 10:38:39 -08:00
pwa-manifest.po.ts feat(docs-infra): add shortcuts for the angular.io PWA (#40393) 2021-01-15 10:38:39 -08:00
scroll.e2e-spec.ts fix(docs-infra): improve focus styles in topnav and footer (#33255) 2020-02-19 12:51:27 -08:00
search.e2e-spec.ts build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00