angular-cn/aio/tests/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
..
src feat(docs-infra): improve search query processing (#41368) 2021-04-01 12:02:37 -07:00
protractor.conf.js ci: enable the Selenium Promise Manager in AIO e2e tests to avoid flakiness on CI (#39905) 2020-12-01 11:39:49 -08:00
tsconfig.json build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00