- 02 Nov, 2020 1 commit
-
-
Dylan Griffith authored
Related to https://gitlab.com/gitlab-org/gitlab/-/issues/213035 . The [Elasticsearch keyword type]( https://www.elastic.co/guide/en/elasticsearch/reference/7.10/keyword.html) "is used for structured content such as IDs, email addresses, hostnames, status codes, zip codes, or tags". This index is preferred over the current [text type]( https://www.elastic.co/guide/en/elasticsearch/reference/7.10/text.html) as the text type takes up more storage. The `text` type splits up the text as though it was human readable text (ie. splitting words apart) and indexes each word separately in the inverted index. As such the `text` type will usually take up more space in the inverted index and should only be used when you need to search for individual words in the text. For each of these cases this is not adding any value and possibly making certain searches incorrect. After testing locally this change appears to save `4%` disk storage. As per https://gitlab.com/gitlab-org/gitlab/-/issues/213035#note_439629162 here is the reasoning on a per field basis: 1. `state/merge_status` => We only do exact matches against this for filtering. It's only 1 word so changing to keyword won't make any difference 2. `target_branch/source_branch` => these are not used in any searches today so there is no risk to changing the index options. Changing this to keyword should have a decent storage improvement as these can be quite long and composed of many words 3. `merge_status` => this is not used in any searches today so there is no risk to changing the index options. This appears to be things like `can_be_merged/cannot_be_merged/unchecked` which implies to me that it should be a keyword anyway as splitting this by word will be producing wrong results if we ever did filter on it and it will save some storage. 4. `commit.(commiter/author).email` => this is used in commit searches today and it's hard to know exactly how this might be used by our current users.Users will lose some behaviour though if they were searching for partial email addresses before. For example you can [search for `dyl.griffith`]( https://gitlab.com/search?scope=commits&repository_ref=&search=dyl.griffith&group_id=9970&project_id=278964) and you will find commits authored by my email address which starts with `dyl.griffith`. After this change to use keyword you'd need to search for the entire exact email address or you could use the prefix search `dyl.griffith*` as well. However, since prefix searches are (wildcards) can only be used at the end of the word you will not be able to search for `griffith` only after this change.
-
- 01 Nov, 2020 3 commits
-
-
Thong Kuah authored
Add User-Agent to web hook service See merge request gitlab-org/gitlab!46070
-
Greg Myers authored
-
charlie ablett authored
Merge branch '243795-graphql-add-offset-implementation-documentation-for-keyset-cursor-pagination' into 'master' GraphQL: Add offset implementation documentation for keyset / cursor pagination See merge request gitlab-org/gitlab!44791
-
- 31 Oct, 2020 10 commits
-
-
Stan Hu authored
Make all Project Issue Boards API available even in CE See merge request gitlab-org/gitlab!46137
-
Gabriel Mazetto authored
Merge branch '273342-follow-up-from-change-from-suggest_pipeline-experiment-to-enabled-ff' into 'master' Fix group for suggest pipeline feature flag file See merge request gitlab-org/gitlab!46326
-
Gabriel Mazetto authored
Move Personal Access Token API to Core [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!46145
-
Max Woolf authored
Moves PAT API endpoints from EE Ultimate to CE for all users.
-
Gabriel Mazetto authored
Speed up projects merge requests controller EE specs See merge request gitlab-org/gitlab!46099
-
Gabriel Mazetto authored
Use snowplow test helper See merge request gitlab-org/gitlab!46028
-
Gabriel Mazetto authored
Sets reactive_caching_limit_environment default to true See merge request gitlab-org/gitlab!46043
-
Gabriel Mazetto authored
Reduce the duration of legacy_upload_mover_spec.rb from 2m9s to 48s See merge request gitlab-org/gitlab!46313
-
Scott Hampton authored
Merge branch '229308-migrate-bootstrap-button-to-gitlab-ui-glbutton-in-app-assets-javascripts-pages-projects' into 'master' Migrate button to GlButton in …/pipeline_schedules_callout.vue See merge request gitlab-org/gitlab!46264
-
Jeremy Elder authored
-
- 30 Oct, 2020 26 commits
-
-
Brett Walker authored
-
Andrew Fontaine authored
Extract a re-used event name to the constants file See merge request gitlab-org/gitlab!46599
-
Amy Qualls authored
-
Amy Qualls authored
-
Brett Walker authored
-
Brett Walker authored
in GraphQL
-
Craig Norris authored
Add more no-stage metadata to pages See merge request gitlab-org/gitlab!46606
-
Jan Provaznik authored
[GraphQL] Merge Requests: use Global-ID scalar See merge request gitlab-org/gitlab!36118
-
Amy Qualls authored
Mark these pages as not belonging to any particular stage.
-
Mayra Cabrera authored
Enable include_lfs_blobs_in_archive feature flag by default See merge request gitlab-org/gitlab!46572
-
Amy Qualls authored
Resolve "Docs: Improve page about Kubernetes deploy" See merge request gitlab-org/gitlab!46272
-
Amy Qualls authored
Provide more information about deployment variables to help future users during setup.
-
Scott Hampton authored
Add readonly editor to display current CI config See merge request gitlab-org/gitlab!46119
-
Nick Gaskill authored
Update metadata for Pages-related doc page See merge request gitlab-org/gitlab!46604
-
Dmytro Zaporozhets (DZ) authored
Change historical_data.date to timestamptz data type See merge request gitlab-org/gitlab!45893
-
Craig Norris authored
More metadata, more docs files See merge request gitlab-org/gitlab!46603
-
Amy Qualls authored
Yet more pages that need to be marked as "none" for stages.
-
Craig Norris authored
Update metadata to link to Release Management
-
Thomas Randolph authored
This extended description is here to please Danger, which doesn't account for succinct-but-complete message subjects.
-
Amy Qualls authored
Explain how to override environment names See merge request gitlab-org/gitlab!45952
-
Amy Qualls authored
A first stab at overriding environment names, with an included script which is grossly incomplete and needs review by an engineer.
-
Robert Speicher authored
Allow some extra users when registering a new license See merge request gitlab-org/gitlab!46407
-
Natalia Tepluhina authored
Move builds scss file to the page_bundles folder See merge request gitlab-org/gitlab!46281
-
Jose Ivan Vargas authored
This moves the buids.scss file to the page_bundles folder
-
Craig Norris authored
Add more metadata to docs pages See merge request gitlab-org/gitlab!46592
-
Amy Qualls authored
Feature was added by Manage :: Compliance, so add to that docset.
-