Commit Graph

166 Commits

Author SHA1 Message Date
Paul Masurel aaf1b2c6b6 Reorganized code and added documentation. 2017-05-25 18:17:37 +09:00
Paul Masurel 2afa6c372a issue/168 Make doc! macro usable outside tantivy 2017-05-22 10:55:45 +09:00
Paul Masurel 4ab511ffc6 Merging 2017-05-21 22:15:02 +09:00
Paul Masurel f318172ea4 Merge branch 'issue/162' 2017-05-21 20:04:03 +09:00
Paul Masurel 581449a824 issue/162 Docs and unit tests 2017-05-21 18:58:04 +09:00
Laurentiu Nicola 73d54c6379 Inline block_len 2017-05-21 10:44:49 +03:00
Paul Masurel 3e4606de5d Simplifying, and reordering the members 2017-05-21 16:31:52 +09:00
Laurentiu Nicola 020779f61b Make things faster 2017-05-20 20:56:37 +03:00
Laurentiu Nicola 835936585f Don't search whole blocks, but only the remaining part 2017-05-20 18:45:41 +03:00
Paul Masurel bdd05e97d1 Added bench for segment postings 2017-05-20 23:38:53 +09:00
Paul Masurel 2be5f08cd6 issue/162 Added block iteration API 2017-05-20 11:46:40 +09:00
Paul Masurel 3f49d65a87 issue/162 Create block postings 2017-05-20 00:46:23 +09:00
Paul Masurel c57ab6a335 Renamed fstmap to termdict 2017-05-19 09:26:18 +09:00
Paul Masurel 02bfa9be52 Moving to termdict 2017-05-19 08:43:52 +09:00
Paul Masurel 2a08c247af Clippy 2017-05-18 23:20:41 +09:00
Paul Masurel d2926b6ee0 Format 2017-05-18 23:09:20 +09:00
Paul Masurel 0272167c2e Code cleaning 2017-05-18 23:06:02 +09:00
Paul Masurel e79a316e41 Issue 155 - Trying to avoid term lookup when merging terms
+ Adds a proper Streamer interface
2017-05-18 20:12:00 +09:00
Paul Masurel 733f54d80e Making clippy happy. 2017-05-17 19:07:39 +09:00
Paul Masurel 7b2b181652 Merge branch 'master' into issue/136
Conflicts:
	src/datastruct/stacker/hashmap.rs
	src/datastruct/stacker/heap.rs
	src/datastruct/stacker/mod.rs
	src/indexer/index_writer.rs
	src/indexer/merger.rs
	src/indexer/segment_updater.rs
	src/indexer/segment_writer.rs
	src/postings/postings_writer.rs
	src/postings/recorder.rs
	src/schema/term.rs
2017-05-17 18:40:09 +09:00
Laurentiu Nicola 1352b95b07 clippy: fix never_loop warnings 2017-05-17 15:50:07 +09:00
Laurentiu Nicola 36f51e289e clippy: fix match_same_arms warnings 2017-05-17 15:50:07 +09:00
Laurentiu Nicola 3e2ad7542d clippy: fix needless_return warnings 2017-05-17 15:50:07 +09:00
Laurentiu Nicola 49dbe4722f Add a test for SegmentPostings::skip_len 2017-05-16 21:12:43 +09:00
Laurentiu Nicola f64ff77424 Use an exponential search 2017-05-16 21:12:43 +09:00
Laurentiu Nicola 3dde748b25 Make rustfmt happy 2017-05-16 00:49:05 +03:00
Laurentiu Nicola 1dabe26395 Add comment about block_len 2017-05-15 21:26:28 +03:00
Laurentiu Nicola 5590537739 Disable early exit 2017-05-15 21:18:06 +03:00
Laurentiu Nicola ccf0f9cb2f Merge branch 'master' of github.com:tantivy-search/tantivy into issue/130 2017-05-15 18:54:16 +03:00
Laurentiu Nicola e21913ecdc Use binary search for SegmentPostings::skip_next 2017-05-15 18:33:43 +03:00
Laurentiu Nicola 2cc826adc7 Add a bench for SegmentPostings::SkipNext 2017-05-15 18:33:43 +03:00
Paul Masurel 4c8f9742f8 format 2017-05-15 22:30:18 +09:00
Paul Masurel 9f9e588905 Merge branch 'master' into issue/136
Conflicts:
	src/postings/postings_writer.rs
2017-05-11 20:50:24 +09:00
Paul Masurel 6fd17e0ead Code cleaning 2017-05-11 20:47:30 +09:00
Paul Masurel 477b9136b9 FIXED inconsistent Term's field serialization.
Also.

Cleaned up the code to make sure that the logic
is only in one place.
Removed allocate_vec

Closes #141
Closes #139
Closes #142
Closes #138
2017-05-11 19:37:15 +09:00
Paul Masurel 54ab897755 Added comment 2017-05-10 19:30:24 +09:00
Paul Masurel d3f829dc8a Bugfix 2017-05-10 00:29:37 +09:00
Paul Masurel 90bc3e3773 Added limitation on term dictionary saturation 2017-05-09 14:10:33 +09:00
Paul Masurel ffb62b6835 working 2017-05-09 10:17:05 +09:00
Paul Masurel 5cb5c9a8f2 issues/65 Added i64 fast fields 2017-05-04 16:46:14 +08:00
Paul Masurel 26cfe2909f FastField with different types 2017-05-04 16:46:13 +08:00
Paul Masurel afdfb1a69b Compiling... fastfield not implemented yet 2017-05-04 16:46:13 +08:00
Paul Masurel deb04eb090 issue/65 Switching to u64. 2017-05-04 16:46:13 +08:00
Paul Masurel 1b922e6d23 issue 120. Using streamvbyte codec for the vbyte part of the encoding 2017-04-16 18:49:53 +09:00
Paul Masurel 15b60d72cc NOBUG add_document does not return result 2017-02-27 09:36:41 +09:00
Paul Masurel e4a102d859 Merge branch 'issue/43'
Conflicts:
	src/directory/mmap_directory.rs
2017-02-25 19:36:21 +09:00
Paul Masurel 1d9924ee90 Closes #43. 2017-02-25 19:32:36 +09:00
Paul Masurel a74b41d7ed NOBUG run benchmark over exactly 100 K elements 2017-02-21 11:43:55 +09:00
Paul Masurel 0f332d1fd3 issue/43 Removed doc freq from recorders. 2017-02-19 22:39:31 +09:00
Paul Masurel 1b45539f32 issue/43 Added support for delete in merged index 2017-02-19 22:39:31 +09:00