mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-08 01:52:54 +00:00
Add fast field for associating arbitrary bytes to a document (#275)
* Add fast field for associating arbitrary bytes to a document * Fix unused macro_use warning * Improvements from code review * Make BytesFastFieldWriter public * Fix json parsing validation failure * Add bytes fast field to CHANGELOG.md * Fix compile errors from merge * Support merging * Address misc code review comments * Fix comments from CR
This commit is contained in:
committed by
Paul Masurel
parent
99c0b84036
commit
8e343b1ca3
@@ -227,6 +227,10 @@ impl QueryParser {
|
||||
let term = Term::from_field_text(field, phrase);
|
||||
Ok(Some(LogicalLiteral::Term(term)))
|
||||
}
|
||||
FieldType::Bytes => {
|
||||
let field_name = self.schema.get_field_name(field).to_string();
|
||||
Err(QueryParserError::FieldNotIndexed(field_name))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user