Fixing build.
parent
9158a4fd7d
commit
f3ea129fa7
|
@ -1,3 +1,6 @@
|
|||
.idea
|
||||
**/*.pyc
|
||||
build
|
||||
/target
|
||||
**/*.rs.bk
|
||||
Cargo.lock
|
||||
|
|
|
@ -37,7 +37,8 @@ can be created to search the index.
|
|||
"the Gulf Stream and he had gone eighty-four days "
|
||||
"now without taking a fish."))
|
||||
writer.add_document(doc)
|
||||
|
||||
writer.commit()
|
||||
|
||||
reader = index.reader()
|
||||
searcher = reader.searcher()
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ impl FieldValue {
|
|||
schema::Value::Str(text) => Some(text.into_object(py)),
|
||||
schema::Value::U64(num) => Some(num.into_object(py)),
|
||||
schema::Value::I64(num) => Some(num.into_object(py)),
|
||||
schema::Value::F64(num) => Some(num.into_object(py)),
|
||||
schema::Value::Bytes(b) => Some(b.to_object(py)),
|
||||
schema::Value::Date(d) => {
|
||||
let date =
|
||||
|
|
Loading…
Reference in New Issue