You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For quickwit (but I imagine that it can be useful for others), we need to be able to instantiate FieldEntry from arbitrary FieldType.
Describe the solution you'd like
impl FieldEntry {
/// Creates a new field entry given a name and a field type
pub fn new(field_name: String, field_type: FieldType) -> FieldEntry {
assert!(is_valid_field_name(&field_name));
FieldEntry {
name: field_name,
field_type: field_type,
}
}
The text was updated successfully, but these errors were encountered:
PSeitz
added a commit
to PSeitz/tantivy
that referenced
this issue
Jun 16, 2021
Is your feature request related to a problem? Please describe.
For quickwit (but I imagine that it can be useful for others), we need to be able to instantiate
FieldEntry
from arbitraryFieldType
.Describe the solution you'd like
The text was updated successfully, but these errors were encountered: