Skip to content

Commit 2908de0

Browse files
committed
Remove charm
1 parent 6bb592e commit 2908de0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/search_index.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ use {
1313
#[derive(Clone)]
1414
struct Schema {
1515
inscription_id: Field,
16-
charm: Field,
1716
sat_name: Field,
1817
}
1918

2019
impl Schema {
2120
fn default_search_fields(&self) -> Vec<Field> {
22-
vec![self.inscription_id, self.charm, self.sat_name]
21+
vec![self.inscription_id, self.sat_name]
2322
}
2423

2524
fn search_result(&self, document: &TantivyDocument) -> Option<SearchResult> {
@@ -62,7 +61,6 @@ impl SearchIndex {
6261

6362
let document = Schema {
6463
inscription_id: schema_builder.add_text_field("inscription_id", STRING | STORED),
65-
charm: schema_builder.add_text_field("charm", STRING),
6664
sat_name: schema_builder.add_text_field("sat_name", STRING),
6765
};
6866

0 commit comments

Comments
 (0)