-
Notifications
You must be signed in to change notification settings - Fork 138
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
#639: allow metadata fields and score opensearch function (#228) #1456
#639: allow metadata fields and score opensearch function (#228) #1456
Commits on Mar 21, 2023
-
opensearch-project#639: allow metadata fields and score opensearch fu…
…nction (#228) * Rebase from main Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update to define and include metadata when visiting the expr node Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Add specific metadata identifiers Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Add IT tests and add parser changes Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Rebase from main Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update score function expression analyzer to return boosted relevance function Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update builder to track scores Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Remove ScoreExpression.java and cleanup checkstyle Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * cleanup checkstyle Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Cleanup and add alternative score function syntax Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Cleanup and add alternative score function syntax Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Fix some bugs and add Expression tests Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Add expresssion and analyzer tests Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Add score doctests Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Add score function doctests Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Add metafield tests Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Move legacy test and mark old as ignore Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * fix checkstyle violations Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * fix checkstyle violations Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update tests and identifier to accept metafields Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Checkstyle fixes Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Rebase from main Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Rebase from main Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Rebase from main Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * fix checkstyle violations Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Revert bad conflict resolution Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Fix for review comments Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update IT tests and legacy tests for comments Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Minor comment Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Updates for whitespace Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update basics.rst to show OS result Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update basics.rst to show OS result Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update basics.rst description Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Change Score function to accept a double/integer not an unresolved Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update functions.rst Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Checkstyle update Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Move reserved world symbol table to OpenSearchTable Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Update functions.rst for review comments Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Removed parser meta tokens; Changes ImmutableMap to Map Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> * Removed parser meta tokens; Changes ImmutableMap to Map Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com> --------- Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
Configuration menu - View commit details
-
Copy full SHA for 3e4e9d7 - Browse repository at this point
Copy the full SHA 3e4e9d7View commit details
Commits on Mar 22, 2023
-
Add IT test with meta-fields and aliases
Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
Configuration menu - View commit details
-
Copy full SHA for f3d89b8 - Browse repository at this point
Copy the full SHA f3d89b8View commit details
Commits on Apr 4, 2023
-
Only include explictly selected meta-fields in response
Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
Configuration menu - View commit details
-
Copy full SHA for c522b69 - Browse repository at this point
Copy the full SHA c522b69View commit details
Commits on Apr 5, 2023
-
Update jacoco tests for new requests
Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
Configuration menu - View commit details
-
Copy full SHA for 9da65c9 - Browse repository at this point
Copy the full SHA 9da65c9View commit details -
Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
Configuration menu - View commit details
-
Copy full SHA for b66ee38 - Browse repository at this point
Copy the full SHA b66ee38View commit details -
Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
Configuration menu - View commit details
-
Copy full SHA for 476f78e - Browse repository at this point
Copy the full SHA 476f78eView commit details
Commits on Apr 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e409060 - Browse repository at this point
Copy the full SHA e409060View commit details -
Update to use set for building metafields in response
Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
1Configuration menu - View commit details
-
Copy full SHA for ccdc290 - Browse repository at this point
Copy the full SHA ccdc290View commit details -
Signed-off-by: Andrew Carbonetto <andrewc@bitquilltech.com>
Configuration menu - View commit details
-
Copy full SHA for 05c42f7 - Browse repository at this point
Copy the full SHA 05c42f7View commit details