#![allow(dead_code)]
use mapstic::ToMapping;
#[derive(ToMapping)]
pub struct Explicit {
#[mapstic(mapping_type = "keyword")]
keyword: String,
text: Text,
#[mapstic(mapping_type = "match_only_text")]
match_only_text: MatchOnlyText,
#[mapstic(mapping_type = "text", params(analyzer = "simple"))]
completion_as_text: Completion,
#[mapstic(params(analyzer = "simple"))]
completion: Completion,
#[mapstic(skip)]
skipped: String,
}
#[derive(ToMapping)]
#[mapstic(mapping_type = "text")]
struct Text(String);
struct MatchOnlyText(String);
#[derive(ToMapping)]
#[mapstic(
mapping_type = "completion",
params(analyzer = "search_analyzer", preserve_separators = false)
)]
struct Completion(String);