Paul Masurel
4bef6c99ee
issue/96 Cleaning up some lock management
2017-04-05 10:12:39 +09:00
Paul Masurel
a84871468b
issue/96 Rename FileError -> OpenReadError
2017-04-05 10:01:49 +09:00
Paul Masurel
e0a39fb273
issue/96 Added unit test, documentation and various tiny improvements.
2017-04-04 22:43:35 +09:00
Paul Masurel
17631ed866
issue/96 Added functionality to protect files from deletion
...
Hopefully fixed the race condition happening when merging files.
2017-04-02 18:48:20 +09:00
Paul Masurel
456dd3a60d
issue/96 merge
2017-03-28 16:49:48 +09:00
Paul Masurel
b12a97abe4
Add unit test for when deleting fails
...
Test that when delete fails, we still keep
the file as managed.
Remove the error log for windows, as failing
to delete is expected.
2017-03-22 08:57:09 +09:00
Laurentiu Nicola
2b5a4bbde2
Don't delete twice on not(windows)
2017-03-21 07:48:58 +02:00
Laurentiu Nicola
2d169c4454
Delay deleting the files in the test suite to make it work on Windows
2017-03-21 07:37:28 +02:00
Laurentiu Nicola
1e0ac31e11
Clarify comment and use qualified import for the flag
2017-03-20 23:12:48 +02:00
Paul Masurel
ebcea0128c
Getting the FLAG from the winapi module.
2017-03-19 11:09:15 +09:00
Laurentiu Nicola
7c114b602d
Make directory syncing work on Windows
2017-03-19 02:17:13 +02:00
Paul Masurel
ebca904767
NOBUG added rustdoc
2017-03-07 09:58:51 +09:00
Paul Masurel
3a472914ce
Fix .write -> .write_all
2017-03-06 16:28:30 +09:00
Paul Masurel
c59507444f
issue/77 ManagedDirectory working
...
Closes #77
2017-03-06 12:18:36 +09:00
Paul Masurel
4b7afa2ae7
issue/77 Added managed directory
2017-03-03 22:41:37 +09:00
Paul Masurel
597dac9cb6
NOBUG Adding doc.
2017-02-25 23:39:02 +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
06017bd422
NOBUG made the cleanup limit adaptive in MmapCache
2017-02-21 00:37:45 +09:00
Paul Masurel
062e38a2ab
Fixes #72 - Cache directory uses weak ref. Introduced CacheInfo object.
2017-02-21 00:24:33 +09:00
Paul Masurel
d007cf3435
issue/43 simplification. removed the notion of delete cursor.
2017-02-19 22:39:04 +09:00
Paul Masurel
926e71a573
issue/43 unit test running. segment updater uses futures.
2017-02-19 22:38:38 +09:00
Paul Masurel
093dcbd253
issue/43 Isolated SegmentMeta
2017-02-19 22:38:15 +09:00
Paul Masurel
fba44b78b6
issue/43 Added delete doc file
2017-02-19 22:38:15 +09:00
Paul Masurel
91b8402e61
NOBUG Using BufWriter<Box<Write>>
2016-10-25 10:27:43 +09:00
Paul Masurel
9358eb32f0
bug/4 Removed useless use of Cursor.
2016-10-16 23:25:03 +09:00
Paul Masurel
e5b51e57b4
Merge branch 'master' into bug/4
2016-10-15 22:59:36 +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
9298a6ad9e
bug/4
2016-10-01 19:03:36 +09:00
Michael J. Curry
5443710544
more minor doc text changes
2016-09-29 21:51:12 -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
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
f3a24f5b3c
NOBUG Code cleaning , cargo clippy
2016-09-19 17:01:37 +09:00
Paul Masurel
619b65b0f3
ISSUE-8 Replacing Vec by an Unrolled Linked List.
2016-08-28 15:38:56 +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
d244a198e2
Added unit tests and related bugfix.
...
Closes #17
2016-08-20 00:11:09 +09:00
Paul Masurel
f1d2f6b34a
Moved directory errors to a submodule
2016-08-19 17:07:32 +09:00
Paul Masurel
7b5e457e1e
Added delete.
2016-08-19 10:35:19 +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
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
b1056b6455
Added bench cli
2016-08-02 10:21:28 +09:00
Paul Masurel
090973ff16
Added field norms.
2016-07-31 22:01:54 +09:00
Paul Masurel
1e9feaddf9
Syncing all components.
2016-07-31 16:29:20 +09:00
Paul Masurel
7281022ed1
Renamed MMapDirectory::create to MMapDirectory to open
2016-07-31 12:06:10 +09:00