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

Fix SearchQueryIT to not depend on percentage #11233

Merged
merged 1 commit into from
Nov 16, 2023

Commits on Nov 16, 2023

  1. Fix SearchQueryIT to not depend on percentage

    The CommonTermsQuery tests in SearchQueryIT had one case that depended
    on the default cutoff frequency percentage. A recent change for
    concurrent search increased the number of deleted documents that could
    be indexed in the "indexRandom" helper method, and it turns out the
    cutoff percentage is calculated from a max docs value that includes
    deleted docs. This change replaces the default percentage with an absolute
    value (number of documents that must match) so it is no longer
    susceptible to behavior change due to number of deleted documents.
    
    Signed-off-by: Andrew Ross <andrross@amazon.com>
    andrross committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    1d6543b View commit details
    Browse the repository at this point in the history