-
Notifications
You must be signed in to change notification settings - Fork 314
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
Search service proposal #2203
Search service proposal #2203
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2203 +/- ##
============================================
+ Coverage 76.72% 76.73% +0.01%
- Complexity 1147 1148 +1
============================================
Files 219 219
Lines 5318 5318
Branches 423 423
============================================
+ Hits 4080 4081 +1
Misses 763 763
+ Partials 475 474 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
6a3bea8
to
f6fd96a
Compare
proposals/2180-search-service.md
Outdated
``` | ||
* In order to find datasets ES will query `dataset` index. When searching for jobs, `run` and `job` subtrees of `lineage` index will be queried. | ||
* A response from ES will contain runId for jobs, and (namespace, name) tuples for datasets. | ||
* Based on that, additional query to PostgreSQL will be sent to convert this into list of `SearchResult` entries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be returned by querying postgres? Wouldn't the object be stored in ES and returned to the caller?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, it's not necessary. SearchResult
can be evaluated from ElasticSearch backend.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think as a follow up, we can discuss how we might want to revisit the SearchResult
model and was to extend it.
I discussed this with Paweł offline, but I believe there are few things missing:
|
5961a04
to
8344749
Compare
Blacklisting
As discussed, ElasticSeach highlight feature enriches document with |
8344749
to
63ec90d
Compare
Signed-off-by: Pawel Leszczynski <[email protected]>
63ec90d
to
727e6a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A well thought-out and written proposal. Great job, @pawel-big-lebowski 💯 💯 🥇
Signed-off-by: Pawel Leszczynski [email protected]
Problem
Search service proposal
Closes #2180
Solution
Within PR.
Checklist
CHANGELOG.md
with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary).sql
database schema migration according to Flyway's naming convention (if relevant)