Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use inline expression script for preferring short module names #1207

Merged
merged 1 commit into from
May 6, 2024

Conversation

haarg
Copy link
Member

@haarg haarg commented May 3, 2024

The 'expression' language is faster, more secure, and supported on modern versions of Elasticsearch. It requires numeric fields. Now that we have the numeric documentation_length field, we can use it to prefer shorter names rather than needing to put files onto the ES servers.

@haarg haarg force-pushed the haarg/search-prefer-short-inline branch 2 times, most recently from 568a5c1 to 66e8a39 Compare May 4, 2024 15:43
The 'expression' language is faster, more secure, and supported on
modern versions of Elasticsearch. It requires numeric fields. Now that
we have the numeric `documentation_length` field, we can use it to
prefer shorter names rather than needing to put files onto the ES
servers.
@haarg haarg force-pushed the haarg/search-prefer-short-inline branch from 66e8a39 to d1571ca Compare May 5, 2024 00:14
Copy link

codecov bot commented May 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.99%. Comparing base (9d7af29) to head (d1571ca).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1207      +/-   ##
==========================================
- Coverage   60.05%   59.99%   -0.07%     
==========================================
  Files         168      168              
  Lines        4509     4509              
  Branches      646      646              
==========================================
- Hits         2708     2705       -3     
- Misses       1571     1573       +2     
- Partials      230      231       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@haarg haarg merged commit 56c711a into master May 6, 2024
2 of 3 checks passed
@haarg haarg deleted the haarg/search-prefer-short-inline branch May 6, 2024 18:17
@haarg haarg mentioned this pull request Sep 17, 2024
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants