-
-
Notifications
You must be signed in to change notification settings - Fork 700
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
remove Document: DocumentDeserialize dependency #2211
Conversation
The dependency requires users to implement an API they may not use.
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2211 +/- ##
==========================================
- Coverage 94.03% 94.01% -0.02%
==========================================
Files 327 327
Lines 65013 65022 +9
==========================================
+ Hits 61132 61133 +1
- Misses 3881 3889 +8
☔ View full report in Codecov by Sentry. |
src/core/searcher.rs
Outdated
@@ -104,7 +107,10 @@ impl Searcher { | |||
|
|||
/// Fetches a document in an asynchronous manner. | |||
#[cfg(feature = "quickwit")] | |||
pub async fn doc_async<D: Document>(&self, doc_address: DocAddress) -> crate::Result<D> { | |||
pub async fn doc_async<D: Document + DocumentDeserialize>( |
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.
same question as above
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.
See comments inline
The dependency requires users to implement an API they may not use.