Commit Graph

27 Commits

Author SHA1 Message Date
Paul Masurel
1d741df7b1 #38 splitting DataSource. 2016-10-18 20:16:34 +09:00
Michael J. Curry
784043b8eb more small changes 2016-09-30 11:16:56 -04:00
Paul Masurel
1a08ca4f95 Doc 2016-09-22 15:45:37 +09:00
Paul Masurel
994f223e35 NOBUG Simplified errors 2016-09-22 13:11:12 +09:00
Paul Masurel
025ab3c7ab NOBUG Added comments. 2016-09-21 10:27:43 +09:00
Paul Masurel
0b11ed517a NOBUG Added documents. 2016-09-20 11:07:40 +09:00
Paul Masurel
17715fe84c Added documentation 2016-09-20 00:43:52 +09:00
Paul Masurel
f3a24f5b3c NOBUG Code cleaning , cargo clippy 2016-09-19 17:01:37 +09:00
Paul Masurel
a599614a94 Code clean up. 2016-08-27 17:00:14 +09:00
Paul Masurel
59150ad802 superficial refactoring 2016-08-26 09:30:09 +09:00
Paul Masurel
0972a1c6a0 Removing data copy in the RAMDirectory
The fst crate recently added support for sliced `Arc<Vec<u8>>`.
This called for a rewrite of the RAMDirectory for tantivy's RAMDirectory.
Previously every single read was copying data.

In addition:
- RAMDirectory's Write object panic if someone does not flush
right before the destruction of the object.
- In the same spirit, the postings serializer panics if someone
opens a term without closing the previous one.

Closes #16
2016-08-18 10:45:34 +09:00
Paul Masurel
cf50b97f8e FieldType::Text -> Str 2016-08-14 23:29:00 +09:00
Paul Masurel
4c42c314e3 Changed serialization of field_entry 2016-08-13 23:45:12 +09:00
Paul Masurel
f66a48af42 Bugfix in merger 2016-08-13 20:14:00 +09:00
Paul Masurel
c3e3715cbd Can request for more or less functionality when opening a segment postings. 2016-08-13 14:15:28 +09:00
Paul Masurel
9a8f153d2b positions 2016-08-13 13:15:39 +09:00
Paul Masurel
0ee473f474 Added tantivy::Error 2016-08-06 17:02:31 +09:00
Paul Masurel
f94efcf5aa More than one default field in query parser. fst version to 1.3.1. 2016-08-01 09:22:01 +09:00
Paul Masurel
97c6be1882 Added fieldnorms 2016-07-31 20:19:36 +09:00
Paul Masurel
22bc18040e code cleaning. 2016-07-31 16:51:32 +09:00
Paul Masurel
e486495cb8 Code cleaning. 2016-07-31 15:34:32 +09:00
Paul Masurel
1080fe19dc Added test for tfidf score, added skip 2016-07-24 17:35:33 +09:00
Paul Masurel
e20acd4ef6 Added doc_freq to searcher. Sums the value for all readers. 2016-07-05 21:37:35 +09:00
Paul Masurel
0c230c9ebf fixed reading docfreq 2016-06-21 10:07:12 +09:00
Paul Masurel
36684d76c5 Added a bunch of test, change read_postings to work on a term 2016-06-20 21:27:02 +09:00
Paul Masurel
55507a8e0f Added read_postings. 2016-06-20 09:41:17 +09:00
Paul Masurel
b93fa39910 Added test for field entry json ser/deser 2016-06-19 23:01:24 +09:00