Skip to content

perf(search): Add settings for _source.excludes#1746

Merged
olovy merged 1 commit intodevelopfrom
perf/source-excludes
Apr 15, 2026
Merged

perf(search): Add settings for _source.excludes#1746
olovy merged 1 commit intodevelopfrom
perf/source-excludes

Conversation

@olovy
Copy link
Copy Markdown
Contributor

@olovy olovy commented Apr 14, 2026

  • Add settings for elastic _source.excludes
  • Filter out unused Item props -> cuts search response size in ~half
    • Less JSON to parse and mangle in both BE+FE

TODO:

  • filter internal fields here, e.g. _links, _str, _topStr
  • rename+refactor libris_search_boost.json

example

_q=boll

before:
Skärmbild från 2026-04-14 15-52-20

after:
Skärmbild från 2026-04-14 18-16-07

- Add settings for ES _source.excludes
- Filter out unused Item props -> cuts search response size in ~half
    - Less JSON to parse and mangle in both BE+FE

TODO:
- filter internal here, e.g. _links, _str, _topStr with this
- rename+refactor libris_search_boost.json
Copy link
Copy Markdown
Contributor

@kaipoykio kaipoykio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Copy Markdown
Member

@andersju andersju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳 LGTM!

@olovy olovy merged commit b64d140 into develop Apr 15, 2026
1 check passed
@olovy olovy deleted the perf/source-excludes branch April 15, 2026 12:21
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.

3 participants