mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	add the searches route and fix a few broken things
This commit is contained in:
		| @@ -13,6 +13,7 @@ use matching_words::{MatchType, PartialMatch}; | ||||
| use r#match::{Match, MatchPosition}; | ||||
| use serde::Serialize; | ||||
| use simple_token_kind::SimpleTokenKind; | ||||
| use utoipa::ToSchema; | ||||
|  | ||||
| const DEFAULT_CROP_MARKER: &str = "…"; | ||||
| const DEFAULT_HIGHLIGHT_PREFIX: &str = "<em>"; | ||||
| @@ -100,7 +101,7 @@ impl FormatOptions { | ||||
|     } | ||||
| } | ||||
|  | ||||
| #[derive(Serialize, Debug, Clone, PartialEq, Eq)] | ||||
| #[derive(Serialize, Debug, Clone, PartialEq, Eq, ToSchema)] | ||||
| pub struct MatchBounds { | ||||
|     pub start: usize, | ||||
|     pub length: usize, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user