1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Commit Graph

11 Commits

Author SHA1 Message Date
Peter Bengtsson
46764a165d api/search/v1 should always return a string for breadcrumbs (#31953) 2022-10-21 16:41:39 +00:00
Peter Bengtsson
3ce69524dc set requestTimeout to 500ms for ES queries (#31929) 2022-10-20 20:31:23 +00:00
Peter Bengtsson
098fb105b2 support filters in api/search/legacy (#31616) 2022-10-12 00:26:18 +00:00
Peter Bengtsson
ef5b9d5f07 proxy /api/search/* to docs.github.com (#31281) 2022-09-29 21:50:38 +00:00
Peter Bengtsson
70f750c8dd create new error if es fails in any way (#31232) 2022-09-28 16:53:07 +00:00
Peter Bengtsson
b97fa9d2b9 fix TypeError in /api/search/legacy (#31049)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-09-22 19:38:29 +00:00
Peter Bengtsson
a179364cda favor more exact spelling searches (#30741) 2022-09-13 18:59:14 +00:00
Peter Bengtsson
54991f70c9 connect to ES 7.11 (#30462)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-09-06 11:50:40 +00:00
Peter Bengtsson
fe80f4ae4d suppress es-search if ELASTICSEARCH_URL isn't configured (#30096)
* suppress es-search if ELASTICSEARCH_URL isn't configured

* simplify

* simple 500 error instead
2022-08-19 20:54:37 +00:00
Peter Bengtsson
126b0a9f44 find hyphenated words better (#29864)
* find hyphenated words better

* consistent about boost constants
2022-08-11 20:49:26 +00:00
Peter Bengtsson
f8f20605f4 search api with elasticsearch (#29053)
* indexing records into Elasticsearch

* @elastic/elasticsearch@8.2.0

* mv

* fix the code

* pipe

* lfs

* use sha

* change how index names work

* search api with Elasticsearch

* works

* refactor client

* better snowballing

* remove dbg

* wip

* highlights and fuzzy search

* improvements and upgrade

* also upgrade

* wip

* index more explicitly

* better validation

* change max size

* popularity by ordinal ranking instead

* playing

* fix package-lock

* rearranging

* catchMiddlewareError

* fix indexing

* match_phrase_prefix on wrapped search

* refactorings

* escape html in content

* wip

* search by URL

* update lock file

* v1 api

* inroads on jest testing the search

* valid yaml hopefully

* index fixtures into local elasticsearch

* specific versions to index only

* small fixes

* feedbacked

* fix tests

* use the npm script
2022-08-05 19:40:38 +00:00