Skip to content

Commit 213ecbf

Browse files
committed
add support for f64 for concat fields
1 parent 67091c5 commit 213ecbf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

quickwit/quickwit-doc-mapper/src/default_doc_mapper/mapping_tree.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,13 @@ impl LeafType {
314314

315315
fn supported_for_concat(&self) -> bool {
316316
use LeafType::*;
317-
matches!(self, Text(_) | U64(_) | I64(_) | Bool(_) | Json(_))
317+
matches!(self, Text(_) | U64(_) | I64(_) | F64(_) | Bool(_) | Json(_))
318318
/*
319-
// will be supported if possible
320-
DateTime(_),
319+
// Since concat is a JSON field, anything that JSON supports can be supported
320+
DateTime(_), // Could be supported if the date is converted to Rfc3339
321321
IpAddr(_),
322322
// won't be supported
323323
Bytes(_),
324-
F64(_),
325324
*/
326325
}
327326
}

0 commit comments

Comments
 (0)