1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Commit Graph

371 Commits

Author SHA1 Message Date
Peter Bengtsson
5d080b74e0 Search with and on title first and favor that more (#22730)
* search improvements

* expose search result score on debug=1 qs (#22452)

* Search index improvements (#22428)

* concatenate headings for search ranking (#22445)

* search index improvements

* update index

* add data-search property used to create search records

* direct match title and normalize results to one per article

* the search index is getting huge

* add chinese lang, intro, and boost

* create a article level record with no heading for each article

* remove chinese language and exact match, boost breadcrumbs

* break out debug mode into separate branch

* break adding chinese out into another branch

* one record per article remove limits

* revert added spaces

* revert adding property on article page

* concatenate headings for search ranking

* remove slug property, fix test

* update record format in tests

* revert adding this property back

* scrape article-body not contents

* adding heading property to tests

* add headings to content property

* Update script/search/parse-page-sections-into-records.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update script/search/parse-page-sections-into-records.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* search by popularity (#22496)

* search by popularity

* adjust factors based on length of query and normalize Lunr score

* Apply suggestions from code review

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>

* turn html into text with appropriate spaces (#22528)

* turn HTML into text with appropriate spaces

Part of #1141

* fix unit test

* improve tests

* small refactor

* slice the search results .content (#22514)

* search by popularity

* adjust factors based on length of query and normalize Lunr score

* slice the search result .content

Part of #1142

* Update lib/search/lunr-search.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>

* truncate translated search index records (#22475)

* truncate translated search index records

* page entire page object

* revert search indexes

* try reverting search indexes again...

* out of sync with main in parent branch so reverting last commit again

* rever deleted indexes

* remove debug lines

* correct package-lock.json

* slice content string better (#22586)

Part of #1149

* include home pages in the search (#22568)

* Search remove hyphen as token (#22584)

* slice better when not present in content (#22672)

* fix missing search breadcrumbs (#22681)

* fix missing search breadcrumbs

* hopefully fix tests

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Highlight based on combined matchData (#22692)

* highlight based on combined matchData

* refactoring

* remove results when lang or version changes (#22697)

* search with AND on title first and favor that more

* commented out code

* Update lib/search/lunr-search.js

* only apply the wildcard to the title search if the last word is short

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-11-16 20:22:09 +00:00
GitHub Actions
f43957f6ea update search indexes 2021-11-16 18:02:02 +00:00
GitHub Actions
c2e558957f update search indexes 2021-11-16 10:00:03 +00:00
GitHub Actions
7056a436b8 update search indexes 2021-11-16 02:13:01 +00:00
GitHub Actions
857bffa76e update search indexes 2021-11-15 18:06:24 +00:00
GitHub Actions
63599e43d6 update search indexes 2021-11-15 10:02:58 +00:00
GitHub Actions
369a7cb765 update search indexes 2021-11-15 02:25:24 +00:00
GitHub Actions
f6313dec22 update search indexes 2021-11-14 18:07:11 +00:00
GitHub Actions
57d04b032f update search indexes 2021-11-14 09:53:49 +00:00
GitHub Actions
894523b380 update search indexes 2021-11-14 02:21:18 +00:00
GitHub Actions
04d213858b update search indexes 2021-11-13 18:05:59 +00:00
Peter Bengtsson
4b59dfd863 Search results content HTML is not escaped (#22782)
Part of #1207
2021-11-13 13:05:06 -05:00
GitHub Actions
dfa9ed4b96 update search indexes 2021-11-13 09:57:33 +00:00
GitHub Actions
c4c15956fa update search indexes 2021-11-13 02:19:19 +00:00
GitHub Actions
ddccebc852 update search indexes 2021-11-12 18:12:26 +00:00
GitHub Actions
6ca01eab65 update search indexes 2021-11-12 10:01:46 +00:00
GitHub Actions
87be74964e update search indexes 2021-11-12 02:24:53 +00:00
GitHub Actions
5a59b6d3a8 update search indexes 2021-11-11 18:11:52 +00:00
GitHub Actions
d5383295c7 update search indexes 2021-11-11 10:05:54 +00:00
GitHub Actions
478c27c0e0 update search indexes 2021-11-11 02:21:49 +00:00
Rachael Sewell
0244fda807 search improvements (#22443) 2021-11-10 11:11:28 -08:00
GitHub Actions
018fe3477f update search indexes 2021-11-10 18:00:35 +00:00
GitHub Actions
0679618c56 update search indexes 2021-11-10 09:52:43 +00:00
GitHub Actions
0344dde370 update search indexes 2021-11-10 02:31:39 +00:00
GitHub Actions
2efa2503c6 update search indexes 2021-11-09 18:41:25 +00:00
GitHub Actions
d607cfc752 update search indexes 2021-11-09 18:18:38 +00:00
Vanessa
8bd8c10f9a GitHub Enterprise Server 3.3 release candidate (#22286)
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Kelly Arwine <kellyarwine@github.com>
Co-authored-by: vgrl <vgrl@github.com>
Co-authored-by: Elijah Buck <buckelij@github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Kelly Arwine <kellyarwine@github.com>
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Jules Parker <19994093+jules-p@users.noreply.github.com>
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2021-11-09 12:12:00 -05:00
GitHub Actions
6065a2bf40 update search indexes 2021-11-08 17:59:11 +00:00
GitHub Actions
f432e101b7 update search indexes 2021-11-08 09:48:25 +00:00
GitHub Actions
9b6f2c38b9 update search indexes 2021-11-08 01:57:55 +00:00
GitHub Actions
b8e2b675cd update search indexes 2021-11-07 17:46:03 +00:00
GitHub Actions
b90fa477dc update search indexes 2021-11-07 09:37:46 +00:00
GitHub Actions
9ef425e078 update search indexes 2021-11-07 01:55:58 +00:00
GitHub Actions
9ac0f7c681 update search indexes 2021-11-06 17:54:36 +00:00
GitHub Actions
d3f8baf24a update search indexes 2021-11-06 09:47:31 +00:00
GitHub Actions
163a15f210 update search indexes 2021-11-06 02:00:42 +00:00
GitHub Actions
e73cfbea02 update search indexes 2021-11-05 17:57:58 +00:00
GitHub Actions
c275a38db5 update search indexes 2021-11-05 09:40:22 +00:00
GitHub Actions
32b3d2ce9f update search indexes 2021-11-05 02:08:34 +00:00
GitHub Actions
5d89892c4a update search indexes 2021-11-04 17:56:47 +00:00
GitHub Actions
660c690c09 update search indexes 2021-11-04 09:48:36 +00:00
GitHub Actions
b8cf5f22a8 update search indexes 2021-11-04 02:12:38 +00:00
GitHub Actions
c4c534a355 update search indexes 2021-11-03 18:13:18 +00:00
GitHub Actions
dbf59280b2 update search indexes 2021-11-03 09:54:37 +00:00
GitHub Actions
9748206d85 update search indexes 2021-11-03 02:12:27 +00:00
Rachael Sewell
2f8283a79f remove german search indexes (#22554) 2021-11-02 17:55:58 -07:00
GitHub Actions
9c559bb687 update search indexes 2021-11-02 17:55:01 +00:00
GitHub Actions
1badc2b20f update search indexes 2021-11-02 09:52:30 +00:00
GitHub Actions
0537bf3fa0 update search indexes 2021-11-02 02:14:15 +00:00
GitHub Actions
99312299e9 update search indexes 2021-10-28 17:15:32 +00:00