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 <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>
    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 <andrewc@bitquilltech.com>
    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 <andrewc@bitquilltech.com>
    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 <andrewc@bitquilltech.com>
    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 <andrewc@bitquilltech.com>
    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 <andrewc@bitquilltech.com>
    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 <andrewc@bitquilltech.com>
    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 <andrewc@bitquilltech.com>
    acarbonetto committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    05c42f7 View commit details
    Browse the repository at this point in the history