angular-docs-cn/aio/tests/deployment/e2e
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
..
protractor.conf.js build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00
redirection.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
site.po.ts build(docs-infra): upgrade tslint to 5.15.0 and codelyzer to 5.0.0 (#29926) 2019-04-25 12:32:49 -07:00
smoke-tests.e2e-spec.ts feat(docs-infra): improve search query processing (#41368) 2021-04-01 12:02:37 -07:00
tsconfig.json build(docs-infra): make type-checking stricter by enabling `noImplicitAny` (#29926) 2019-04-25 12:32:49 -07:00