Paul Masurel
3bc9978d95
bug/4 Pretty bad race condition remaining
...
1
2016-10-12 10:41:41 +09:00
Paul Masurel
fe905ff18b
bug/4 Bugfix, and made unit test way faster
2016-10-11 08:59:41 +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
9cc1e47a06
bug/4
2016-10-04 11:07:34 +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
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
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
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
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
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
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
Paul Masurel
ce95bfd9a5
Closes #19 . Move example to examples directory.
2016-08-24 10:58:08 +09:00
Paul Masurel
e6200e85af
Schema now:
...
- internally wrapped by an Arc, cloning aggressively is ok.
- a field in schema, redundant with metas
- read-only. Needs to be built via a SchemaBuilder.
2016-08-23 22:23:47 +09:00
Paul Masurel
054405adf1
Removing the locks from the index to keep only those in Directory
2016-08-23 11:18:19 +09:00
Paul Masurel
182d2549b9
Added commit / rollback / docstamp
2016-08-21 14:38:46 +09:00
Paul Masurel
0639911cc3
Moved index code to another module.
2016-08-20 15:29:27 +09:00
Paul Masurel
08612899eb
Change error used in directory.
2016-08-19 00:56:13 +09:00
Paul Masurel
04238d9e65
Documented the Directory behavior.
...
Removed sync calls, and moved then on file creation
and flush instead.
2016-08-18 23:41:58 +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
ed38007e9f
NOBUG made building index from directory public
2016-08-16 11:55:10 +09:00
Paul Masurel
cf50b97f8e
FieldType::Text -> Str
2016-08-14 23:29:00 +09:00
Paul Masurel
e847de1ebb
Refactoring, and making server working with a dynamic schema
2016-08-14 14:28:36 +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
654769bb60
merging positions.
2016-08-13 15:59:12 +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
cf1415a17c
Misc fixes.
2016-08-13 00:31:56 +09:00
Paul Masurel
1fba8a2b58
blop
2016-08-12 10:13:01 +09:00
Paul Masurel
e644a371d6
moving stuff around in the segment writer
2016-08-12 09:07:27 +09:00
Paul Masurel
57626cd217
indexing untokenized fields
2016-08-12 00:50:23 +09:00