-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 DerivedFieldQuery to support concurrent search. #15326
Commits on Aug 22, 2024
-
Fix DerivedFieldQuery to support concurrent search.
This change updates DerivedFieldQuery to create a separate ValueFetcher instance per thread. The DerivedFieldValueFetcher is not thread safe in that it holds a ref to a compiled DerivedFieldScript that is created per thread. Each script also holds a SourceLookup object that is not thread safe. Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f3d28a3 - Browse repository at this point
Copy the full SHA f3d28a3View commit details -
Fix broken cases relying on ObjectDerivedFieldValueFetcher.
DerivedFieldQuery will accept a supplier for a valueFetcher rather than constructing it. This ensures that the DerivedFieldType creating the query (obj or regular) passes the correct supplier func. Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1a49091 - Browse repository at this point
Copy the full SHA 1a49091View commit details -
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 79f273a - Browse repository at this point
Copy the full SHA 79f273aView commit details -
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 134066a - Browse repository at this point
Copy the full SHA 134066aView commit details -
add an extra test for DerivedFieldType multiPhraseQuery
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7cc1a6b - Browse repository at this point
Copy the full SHA 7cc1a6bView commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 917ebd5 - Browse repository at this point
Copy the full SHA 917ebd5View commit details -
add tests for normalizedWildcard and phrase prefix
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1520b44 - Browse repository at this point
Copy the full SHA 1520b44View commit details -
Merge branch 'main' into 15007
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2373d0f - Browse repository at this point
Copy the full SHA 2373d0fView commit details