Native engine abstractions#20821
Conversation
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 3d1eb6a.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Reviewer Guide 🔍(Review updated until commit 581daca)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 581daca Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit ba14715
Suggestions up to commit e02e3f2
Suggestions up to commit 1914cd1
Suggestions up to commit 7f5f3e6
Suggestions up to commit 338bc6e |
|
❌ Gradle check result for 4aad14e: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
4aad14e to
3e4d286
Compare
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 3e4d286.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
3e4d286 to
7ef7f9c
Compare
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 7ef7f9c.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
7ef7f9c to
ade5591
Compare
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit ade5591.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit ac2edae.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit cc1fb42.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 86a9747.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 5f761ba.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
5f761ba to
338bc6e
Compare
|
Persistent review updated to latest commit 338bc6e |
|
❌ Gradle check result for 338bc6e: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Persistent review updated to latest commit 7f5f3e6 |
|
❌ Gradle check result for 7f5f3e6: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Persistent review updated to latest commit 1914cd1 |
|
❌ Gradle check result for 1914cd1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit d2149de.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
* Refactor CompositeEngine to use factory Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * Introduce SegmentCollector Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * Introduce SegmentCollector Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * Introduce SegmentCollector Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> --------- Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
* Refactor CompositeEngine to use factory Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * Introduce SegmentCollector Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * Introduce SegmentCollector Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * Introduce SegmentCollector Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * De-couple and simplify index file deleter Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * De-couple and simplify index file deleter Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * De-couple and simplify index file deleter, handle scorer and weight query lifecycle Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * De-couple and simplify index file deleter, handle scorer and weight query lifecycle Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> * De-couple and simplify index file deleter, handle scorer and weight query lifecycle Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com> --------- Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
Signed-off-by: bharath-techie <bharath78910@gmail.com>
…alytics interfaces Signed-off-by: bharath-techie <bharath78910@gmail.com>
Signed-off-by: bharath-techie <bharath78910@gmail.com>
Signed-off-by: bharath-techie <bharath78910@gmail.com>
Signed-off-by: bharath-techie <bharath78910@gmail.com>
|
Failed to generate code suggestions for PR |
534b6b0 to
09a2742
Compare
|
Failed to generate code suggestions for PR |
09a2742 to
223769c
Compare
|
Failed to generate code suggestions for PR |
|
❌ Gradle check result for 223769c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
223769c to
7d4b7fa
Compare
|
Failed to generate code suggestions for PR |
7d4b7fa to
91c83d5
Compare
|
Failed to generate code suggestions for PR |
|
❌ Gradle check result for 91c83d5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: bharath-techie <bharath78910@gmail.com>
91c83d5 to
17d7546
Compare
|
Failed to generate code suggestions for PR |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #20821 +/- ##
============================================
- Coverage 73.31% 73.22% -0.09%
- Complexity 72544 72603 +59
============================================
Files 5819 5848 +29
Lines 331399 331952 +553
Branches 47887 47948 +61
============================================
+ Hits 242955 243069 +114
- Misses 68935 69354 +419
- Partials 19509 19529 +20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* Native search engine abstractions for analytics-backend Signed-off-by: bharath-techie <bharath78910@gmail.com> Co-authored-by: Bukhtawar Khan <bukhtawar7152@gmail.com> Signed-off-by: Gagan Dhakrey <gagandhakrey@Gagans-MacBook-Pro.local>
* Native search engine abstractions for analytics-backend Signed-off-by: bharath-techie <bharath78910@gmail.com> Co-authored-by: Bukhtawar Khan <bukhtawar7152@gmail.com> Signed-off-by: Aparajita Pandey <aparajita31pandey@gmail.com>
Description
This PR wires the Index shard with backend plugins via Reader managers.
Reader managers in backend plugins is not refcounted , readers can only can be retrieved with a catalog snapshot and a catalog snapshot when it gets acquired / released gets ref counted, so we will fully rely on catalog snapshot for reader / files management
Has changes for CatalogSnapshot, DataFormatRegistry , DataFormatAwareEngine, IndexFileDeleter etc which might be part of other indexing PRs such # 20675 - but added here to give clarity to flow
Search exec engine is created per query which then creates a context that is associated with the query action which maintains the state throughout its lifecycle.
WIP :
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
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.