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

#639: allow metadata fields and score opensearch function (#228) #1456

Merged
merged 9 commits into from
Apr 10, 2023

Commits on Mar 21, 2023

  1. opensearch-project#639: allow metadata fields and score opensearch fu…

    …nction (#228)
    
    * Rebase from main
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update to define and include metadata when visiting the expr node
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Add specific metadata identifiers
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Add IT tests and add parser changes
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Rebase from main
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update score function expression analyzer to return boosted relevance function
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update builder to track scores
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Remove ScoreExpression.java and cleanup checkstyle
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * cleanup checkstyle
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Cleanup and add alternative score function syntax
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Cleanup and add alternative score function syntax
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Fix some bugs and add Expression tests
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Add expresssion and analyzer tests
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Add score doctests
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Add score function doctests
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Add metafield tests
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Move legacy test and mark old as ignore
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * fix checkstyle violations
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * fix checkstyle violations
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update tests and identifier to accept metafields
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Checkstyle fixes
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Rebase from main
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Rebase from main
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Rebase from main
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * fix checkstyle violations
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Revert bad conflict resolution
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Fix for review comments
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update IT tests and legacy tests for comments
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Minor comment
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Updates for whitespace
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update basics.rst to show OS result
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update basics.rst to show OS result
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update basics.rst description
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Change Score function to accept a double/integer not an unresolved
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update functions.rst
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Checkstyle update
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Move reserved world symbol table to OpenSearchTable
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Update functions.rst for review comments
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Removed parser meta tokens; Changes ImmutableMap to Map
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    * Removed parser meta tokens; Changes ImmutableMap to Map
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    
    ---------
    
    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    3e4e9d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2023

  1. Add IT test with meta-fields and aliases

    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    f3d89b8 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Only include explictly selected meta-fields in response

    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    c522b69 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Update jacoco tests for new requests

    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    9da65c9 View commit details
    Browse the repository at this point in the history
  2. Fix checkstyle

    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    b66ee38 View commit details
    Browse the repository at this point in the history
  3. Update for constant

    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    476f78e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Configuration menu
    Copy the full SHA
    e409060 View commit details
    Browse the repository at this point in the history
  2. Update to use set for building metafields in response

    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto committed Apr 6, 2023
    1 Configuration menu
    Copy the full SHA
    ccdc290 View commit details
    Browse the repository at this point in the history
  3. Update tests and checkstyle

    Signed-off-by: Andrew Carbonetto <[email protected]>
    acarbonetto committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    05c42f7 View commit details
    Browse the repository at this point in the history