Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
evanxg852000 committed Jun 29, 2023
1 parent b1e2d43 commit cb35e38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions quickwit/quickwit-serve/src/elastic_search_api/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ use crate::elastic_search_api::model::{ElasticIngestOptions, SearchBody, SearchQ
const BODY_LENGTH_LIMIT: Byte = byte_unit::Byte::from_bytes(1_000_000);
const CONTENT_LENGTH_LIMIT: Byte = byte_unit::Byte::from_bytes(10 * 1024 * 1024); // 10MiB

// TODO: make the models utoipa compatible and register
// all endpoints in the docs here.
// TODO: Make all endpoint models `utoipa` compatible
// and register them here.
#[derive(utoipa::OpenApi)]
#[openapi(paths(elastic_info_filter,))]
pub struct ElasticCompatibleApi;
Expand All @@ -40,7 +40,6 @@ pub(crate) fn elastic_info_filter() -> impl Filter<Extract = (), Error = Rejecti
warp::path!("_elastic")
.and(warp::get())
.and(warp::path::end())
// .and(serde_qs::warp::query(serde_qs::Config::default()))
}

#[utoipa::path(get, tag = "Search", path = "/_search")]
Expand Down

0 comments on commit cb35e38

Please sign in to comment.