- 
                Notifications
    You must be signed in to change notification settings 
- Fork 24
Skip profile queries #298
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
Skip profile queries #298
Conversation
        
          
                src/test/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListenerTests.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                src/test/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListenerTests.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                src/test/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListenerTests.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | @quangdutran Thanks for your contribution! I added some comments on how to fix the failing unit tests. For future reference, you can run  Also, there was a bug last week affecting OpenSearch plugins. You'll need to rebase your branch to include #296 before running the commands above. | 
Signed-off-by: Du Tran <quangdutran809@gmail.com>
246e267    to
    12ef4ae      
    Compare
  
    Signed-off-by: Du Tran <quangdutran809@gmail.com>
12ef4ae    to
    067838f      
    Compare
  
    | Hi @dzane17 Cheers | 
| Testing
 
 
 
 
  | 
| @quangdutran thanks for the contribution! the PR looks good to me as well, merging it! | 
* Skip profile queries Signed-off-by: Du Tran <quangdutran809@gmail.com> * FEAT 180: Refactor UT for skip profile query Signed-off-by: Du Tran <quangdutran809@gmail.com> --------- Signed-off-by: Du Tran <quangdutran809@gmail.com> Co-authored-by: Du Tran <du.tran@array.world> (cherry picked from commit dc1c3f2) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit dc1c3f2) Signed-off-by: Du Tran <quangdutran809@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Du Tran <du.tran@array.world>
(cherry picked from commit dc1c3f2) Signed-off-by: Du Tran <quangdutran809@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Du Tran <du.tran@array.world> (cherry picked from commit 38cb816) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit dc1c3f2) (cherry picked from commit 38cb816) Signed-off-by: Du Tran <quangdutran809@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Du Tran <du.tran@array.world>
Description
Profile search requests will be skipped during the search query construction in both request end and fail
Issues Resolved
[FEATURE] Filter out profile queries from the Top N queries
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.