-
Couldn't load subscription status.
- Fork 97
feat: add OpenSearch distance operations and selectors #1335
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add test cases for the classes OpenSearchHeuristicsCalculator, ParameterExtractor and OpenSearchQueryHelper
| import org.evomaster.client.java.controller.opensearch.selectors.MatchSelector; | ||
| import org.evomaster.client.java.controller.opensearch.selectors.QuerySelector; | ||
|
|
||
| public class OpenSearchQueryParser { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need tests for OpenSearchQueryParser to check that the JSON is correctly parsed into its corresponding OpenSearch operation.
| /** | ||
| * Utility class to extract common parameters and reduce code duplication in selectors. | ||
| */ | ||
| public class ParameterExtractor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add test cases for this class
| /** | ||
| * Extracts the case_insensitive parameter from a term query object. | ||
| */ | ||
| public static Boolean extractCaseInsensitive(Object query, String structure) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add test cases for this class
No description provided.