compatibility with tantivy-imhotep

This commit is contained in:
Paul Masurel
2017-05-07 14:19:38 +09:00
parent 2a909ddcc7
commit 3b33484cf8
2 changed files with 7 additions and 1 deletions

View File

@@ -46,6 +46,9 @@ pub struct U64FastFieldReader {
max_value: u64,
}
unsafe impl Send for U64FastFieldReader {}
unsafe impl Sync for U64FastFieldReader {}
impl U64FastFieldReader {
/// Returns the minimum value for this fast field.
@@ -140,6 +143,9 @@ pub struct I64FastFieldReader {
underlying: U64FastFieldReader,
}
unsafe impl Send for I64FastFieldReader {}
unsafe impl Sync for I64FastFieldReader {}
impl I64FastFieldReader {
/// Returns the minimum value for this fast field.
///

View File

@@ -97,7 +97,7 @@ mod indexer;
mod common;
mod error;
mod analyzer;
mod datastruct;
pub mod datastruct;