sbp-hardfork #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "sbp-hardfork"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nach main!
Without minimum_should_match=1 on the inner post bool query, Elasticsearch defaults MSM to 0 whenever a filter clause is present. This caused has_child to score every non-hidden post on every search request, saturating CPU on shared ES nodes with large corpora (3.7M+ posts). - Add BoolQuery subclass with create() override and minimumShouldMatch() (spatie/elasticsearch-query-builder 1.x uses `new self()` in create(), so subclassing requires overriding it) - Set minimumShouldMatch(1) on the inner post query after adding the is_hidden filter, so only genuinely matching posts are scored - Remove the operator('or') clause from buildShouldClauses() — with Turkish min_ngram=2, 'or' generates 2-gram tokens that match nearly every post, causing near-total index scans - Add ES client timeouts (connect: 2s, query: 10s) to prevent Apache mod_php worker saturation when ES is slow or unreachableja machen!
los!
jetzt los
alle angeschaut
und jetzt?
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.