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

Do not include full-text and tag data in the composite field #6356

Merged
merged 1 commit into from
May 22, 2023

Conversation

aduffeck
Copy link
Contributor

@aduffeck aduffeck commented May 19, 2023

This commit removes the full-text and tag data from the composite field ("_all") which can be used for default term queries which we don't do anyways.

As a result the search index shrinks considerably in size, my test index went from 13MB down to 7,6MB, for example.

/cc @fschade

This commit removes the full-text and tag data from the composite field
("_all") which can be used for default term queries which we don't do
anyways.
@update-docs
Copy link

update-docs bot commented May 19, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@sonarcloud
Copy link

sonarcloud bot commented May 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@fschade fschade left a comment

Choose a reason for hiding this comment

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

GOOD CATCH :) LGTM 🚀 🎸

Copy link
Contributor

@fschade fschade left a comment

Choose a reason for hiding this comment

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

GOOD CATCH :) LGTM 🚀 🎸

@aduffeck aduffeck merged commit 798f3d5 into owncloud:master May 22, 2023
@aduffeck aduffeck deleted the reduce-search-index-size branch May 22, 2023 07:51
ownclouders pushed a commit that referenced this pull request May 22, 2023
Do not include full-text and tag data in the composite field
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