Commit Graph

387 Commits

Author SHA1 Message Date
Paul Masurel
513b44eb93 Merge branch 'bug/4' of github.com:fulmicoton/tantivy into bug/4 2016-10-10 16:06:37 +09:00
Paul Masurel
9b5185b8d5 bug/4 Bugfix. Committing was throwing away the segment's state (InMerge or Ready). 2016-10-10 11:41:31 +09:00
Paul Masurel
ac35a83eeb Merge branch 'bug/4' of github.com:fulmicoton/tantivy into bug/4 2016-10-07 19:23:56 +09:00
Paul Masurel
9cc1e47a06 bug/4 2016-10-04 11:07:34 +09:00
Paul Masurel
90cec84f95 bug/4 2016-10-04 10:41:10 +09:00
Paul Masurel
cd0464346c bug/4 Do not handle error in SegmentManager. 2016-10-03 20:43:01 +09:00
Paul Masurel
9298a6ad9e bug/4 2016-10-01 19:03:36 +09:00
Paul Masurel
5e030ac6bb bug/4 2016-10-01 11:38:24 +09:00
Paul Masurel
0c9b0daf70 bug/4 blop 2016-09-30 22:58:56 +09:00
Paul Masurel
6d67588fcd Merge branch 'bug/4' of github.com:fulmicoton/tantivy into bug/4 2016-09-30 17:45:36 +09:00
Paul Masurel
76a65b625a bug/4 made index.commit private 2016-09-30 14:53:54 +09:00
Paul Masurel
e6631dfb19 bug/4 introducing a segment manager 2016-09-30 00:02:14 +09:00
Paul Masurel
cd3bd442fe bug/4 introducing a segment manager 2016-09-29 21:07:59 +09:00
Paul Masurel
9473ac3371 bug/4 one test not passing 2016-09-28 00:11:52 +09:00
Paul Masurel
76e1237b81 bug/4 still buggy and very wrong, but one step at a time 2016-09-27 19:13:53 +09:00
Paul Masurel
76046a754b bug/4 Test are working with autoincrement segment id 2016-09-26 10:04:10 +09:00
Paul Masurel
734866a77c issue/4 First tab, added segment register. Unit tests broken. Need to seed the random generator 2016-09-26 08:56:36 +09:00
Paul Masurel
1a08ca4f95 Doc 2016-09-22 15:45:37 +09:00
Paul Masurel
ca331e7fe5 Added documentation / HeapAllocable 2016-09-22 14:32:44 +09:00
Paul Masurel
994f223e35 NOBUG Simplified errors 2016-09-22 13:11:12 +09:00
Paul Masurel
de7880bde9 NOBUG Added comments. 2016-09-21 10:38:50 +09:00
Paul Masurel
025ab3c7ab NOBUG Added comments. 2016-09-21 10:27:43 +09:00
Paul Masurel
b337adbd78 NOBUG Added comments. 2016-09-21 00:52:31 +09:00
Paul Masurel
0b11ed517a NOBUG Added documents. 2016-09-20 11:07:40 +09:00
Paul Masurel
e8d5baa44b NOBUG Adding documentation 2016-09-20 08:58:43 +09:00
Paul Masurel
17715fe84c Added documentation 2016-09-20 00:43:52 +09:00
Paul Masurel
578b8df288 NOBUG Added documentation 2016-09-19 18:45:50 +09:00
Paul Masurel
f3a24f5b3c NOBUG Code cleaning , cargo clippy 2016-09-19 17:01:37 +09:00
Paul Masurel
89cac9225b NOBUG Added unit test 2016-09-18 23:29:32 +09:00
Paul Masurel
ff19426299 Removed dead code. 2016-09-15 09:23:00 +09:00
Paul Masurel
2895a1feb1 Merge remote-tracking branch 'origin/master' into bug8/experimental 2016-09-15 00:01:53 +09:00
Paul Masurel
7969fb3a71 Use logging. 2016-09-15 00:00:14 +09:00
Paul Masurel
346fc31ac2 Chaining heaps.
We commit close segments when the indexer heap is close to its capacity.
(currently we use a limit of 10_000_000).

Because we do this check before indexing a document, and before
also because serialization starts by closing the postingswriter, and
therefore all of the recorders open for the last document, we may still
overflow the heap.

We don't want to resize the heap because we may have references to objects
in the current heap.

Because of that, heap are actually chained list.
In an ideal settings, the limit should work fine and this overflow behavior should
never be activated.
2016-09-14 10:27:55 +09:00
Paul Masurel
b911c4dc98 Indexing works. 3'22 2016-09-13 00:36:42 +09:00
Paul Masurel
50687a1c7c Renaming + new unit test 2016-09-08 09:26:14 +09:00
Paul Masurel
385794419e Bigger heap in unit testwq 2016-09-07 10:04:02 +09:00
Paul Masurel
a612504e26 #8 Hashmap size as a function of the heap size 2016-09-06 22:13:55 +09:00
Paul Masurel
33aa151916 BUG-21 Remove useless 64 bits padding in fastfield.
Closes #21
2016-09-06 09:57:17 +09:00
Paul Masurel
24d2e3f6c1 switching for the stacker datastructure 2016-09-05 10:27:14 +09:00
Paul Masurel
45bb1c5ab8 Working... Test passing. Indexing wikipediua in 4min37 2016-08-30 00:52:52 +09:00
Paul Masurel
0ee2d4c612 Using the entry API to get the block list. 2016-08-29 10:18:20 +09:00
Paul Masurel
93c984c8f2 Working but dirty... 2016-08-29 09:40:35 +09:00
Paul Masurel
7f52da2c87 Unit tests passing. 2016-08-29 08:55:40 +09:00
Paul Masurel
b10227ea44 (test not passing) 2016-08-29 00:51:59 +09:00
Paul Masurel
619b65b0f3 ISSUE-8 Replacing Vec by an Unrolled Linked List. 2016-08-28 15:38:56 +09:00
Paul Masurel
a599614a94 Code clean up. 2016-08-27 17:00:14 +09:00
Paul Masurel
5e806c88ef Issue 20 Searcher pool implemented using a channel.
Operational but not really ready for merge.
2016-08-27 16:15:02 +09:00
Paul Masurel
46e2b73ea5 small refactoring 2016-08-26 10:32:49 +09:00
Paul Masurel
b2afe8592c Erased text in README 2016-08-26 10:17:09 +09:00
Paul Masurel
59150ad802 superficial refactoring 2016-08-26 09:30:09 +09:00