Skip to content

Commit

Permalink
Made fast field reader clonable.
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton committed Jan 21, 2021
1 parent 94d3d7a commit ef618a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fastfield/readers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use crate::TantivyError;
///
/// Internally, `FastFieldReaders` have preloaded fast field readers,
/// and just wraps several `HashMap`.
#[derive(Clone)]
pub struct FastFieldReaders {
schema: Schema,
fast_fields_composite: CompositeFile,
Expand Down

0 comments on commit ef618a5

Please sign in to comment.