mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 13:24:27 +01:00
Merge pull request #123 from irevoire/snapshots
remove the now useless dead_code flags
This commit is contained in:
commit
7050236a93
@ -20,7 +20,6 @@ const fn default_search_limit() -> usize {
|
|||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
||||||
#[allow(dead_code)]
|
|
||||||
pub struct SearchQuery {
|
pub struct SearchQuery {
|
||||||
pub q: Option<String>,
|
pub q: Option<String>,
|
||||||
pub offset: Option<usize>,
|
pub offset: Option<usize>,
|
||||||
|
@ -11,7 +11,6 @@ use super::update_actor::UpdateActorHandle;
|
|||||||
use super::uuid_resolver::UuidResolverHandle;
|
use super::uuid_resolver::UuidResolverHandle;
|
||||||
use crate::helpers::compression;
|
use crate::helpers::compression;
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub struct SnapshotService<U, R> {
|
pub struct SnapshotService<U, R> {
|
||||||
uuid_resolver_handle: R,
|
uuid_resolver_handle: R,
|
||||||
update_handle: U,
|
update_handle: U,
|
||||||
|
@ -96,7 +96,6 @@ impl Index<'_> {
|
|||||||
self.service.get(url).await
|
self.service.get(url).await
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub async fn list_updates(&self) -> (Value, StatusCode) {
|
pub async fn list_updates(&self) -> (Value, StatusCode) {
|
||||||
let url = format!("/indexes/{}/updates", self.uid);
|
let url = format!("/indexes/{}/updates", self.uid);
|
||||||
self.service.get(url).await
|
self.service.get(url).await
|
||||||
|
Loading…
Reference in New Issue
Block a user