Paul Masurel
79894657df
Address #656
...
Broke the reference loop to make sure that the watch_router can
be dropped, and the thread exits.
2019-09-30 12:54:02 +09:00
Paul Masurel
efd1af1325
Closes #544 . ( #607 )
...
Prepare for release 0.10.1
2019-07-30 13:38:06 +09:00
Paul Masurel
7211df6719
Failrs ( #600 )
...
* Single thread tests
* Isolating fail tests into a different binary
2019-07-22 13:17:21 +09:00
Paul Masurel
f27ce6412c
Made the SegmentMeta inventory out of static.
2019-07-21 10:38:00 +09:00
Paul Masurel
8197a9921f
Small code cleaning
2019-07-20 07:10:12 +09:00
Paul Masurel
4867be3d3b
Kompass master ( #590 )
...
* Use once_cell in place of lazy_static
* Minor changes
2019-07-10 19:24:54 +09:00
Paul Masurel
0bc2c64a53
2018 ( #585 )
...
* removing macro import for fail-rs
* Downcast-rs
* matches
2019-07-07 17:09:04 +09:00
Paul Masurel
35236c8634
Seek not required in Directory's write anymore ( #584 )
2019-07-03 10:12:33 +09:00
Paul Masurel
462774b15c
Tiqb feature/2018 ( #583 )
...
* rust 2018
* Added CHANGELOG comment
2019-07-01 10:01:46 +09:00
Paul Masurel
c23a7c992b
Closes #552 ( #570 )
...
The different handles to `SegmentMeta` are closed before calling gc on
end_merge.
2019-06-16 14:12:13 +09:00
Paul Masurel
e2da92fcb5
Petr tik n510 clear index ( #566 )
...
* Enables clearing the index
Closes #510
* Adds an examples to clear and rebuild index
* Addressing code review
Moved the example from examples/ to docstring above `clear`
* Corrected minor typos and missed/duplicate words
* Added stamper.revert method to be used for rollback
Added type alias for Opstamp
Moved to AtomicU64 on stable rust (since 1.34)
* Change the method name and doc-string
* Remove rollback from delete_all_documents
test_add_then_delete_all_documents fails with --test-threads 2
* Passes all the tests with any number of test-threads
(ran locally 5 times)
* Addressed code review
Deleted comments with debug info
changed ReloadPolicy to Manual
* Removing useless garbage_collect call and updated CHANGELOG
2019-06-12 09:40:03 +09:00
dependabot-preview[bot]
a37d2f9777
Update winapi requirement from 0.2 to 0.3 ( #537 )
...
* Update winapi requirement from 0.2 to 0.3
Updates the requirements on [winapi](https://github.com/retep998/winapi-rs ) to permit the latest version.
- [Release notes](https://github.com/retep998/winapi-rs/releases )
- [Commits](https://github.com/retep998/winapi-rs/commits/0.3.7 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Fixing upgrading winapi (hopefully).
2019-06-06 10:23:13 +09:00
Paul Masurel
444662485f
Remove mut in add_document and delete_term. Made stamper ordering rel… ( #551 )
...
* Remove mut in add_document and delete_term. Made stamper ordering relaxed.
* Made batch operations &mut self -> &self
* Added example
2019-05-28 10:26:00 +09:00
Paul Masurel
66b4615e4e
Issue/542 ( #543 )
...
* Closes 542.
Fast fields are all loaded when the segment reader is created.
2019-05-05 13:52:43 +09:00
Paul Masurel
83eb0d0cb7
Disabling tests on Android
2019-03-20 10:24:17 +09:00
Paul Masurel
ee6e273365
cleanup for nodefaultfeatures
2019-03-20 10:04:42 +09:00
Paul Masurel
663dd89c05
Feature/reader ( #517 )
...
Adding IndexReader to the API. Making it possible to watch for changes.
* Closes #500
2019-03-20 08:39:22 +09:00
Paul Masurel
9acadb3756
Code cleaning
2019-02-26 10:50:36 +09:00
Paul Masurel
774fcecf23
cargo fmt
2019-02-26 10:44:59 +09:00
Paul Masurel
b422f9c389
Partially addresses #500 ( #502 )
...
Using `tantivy_fst`. Storing `Weak<Mmap>` in the Mmap cache.
2019-02-23 10:33:59 +09:00
Paul Masurel
7b97dde335
Clippy + cargo fmt
2019-01-28 12:37:55 +01:00
Paul Masurel
644b4bd0a1
Issue/468b ( #482 )
...
* Moving lock to directory/
* added fs2
* doc
* Using fs2 for locking
* Added unit test
* Fixed error message related unit test
* Fixing location of import
2019-01-27 12:32:21 +01:00
Paul Masurel
bf94fd77db
Issue/471 ( #481 )
...
* Closes 471
Removing writing_segments in the segment manager as it is now useless.
Removing the target merged segment id as it is useless as well.
* RAII for tracking which segment is in merge.
Closes #471
* fmt
* Using Inventory::default().
2019-01-27 12:18:59 +09:00
Paul Masurel
e68775d71c
Format and update murmurhash32 version
2018-12-17 19:12:38 +09:00
Paul Masurel
a3042e956b
Facet remove unsafe ( #454 )
...
* Removing some unsafe
* Removing some unsafe (2)
2018-12-17 09:31:09 +09:00
Paul Masurel
279a9eb5e3
Closes #449 ( #450 )
...
Clippy working on stable.
Clippy warnings addressed
2018-12-10 12:20:59 +09:00
Dru Sellers
ab4593eeb7
Adds open_or_create method ( #428 )
...
* Change the semantic of Index::create_in_dir.
It should return an error if the directory already contains an Index.
* Index::open_or_create is working
* additional test
* Checking that schema matches on open_or_create.
Simplifying unit tests.
* simplifying Eq
2018-10-31 08:36:39 +09:00
Paul Masurel
10f6c07c53
Clippy ( #422 )
...
* Cargo Format
* Clippy
2018-09-15 20:20:22 +09:00
Paul Masurel
06e7bd18e7
Clippy ( #421 )
...
* Cargo Format
* Clippy
* bugfix
* still clippy stuff
* clippy step 2
2018-09-15 14:56:14 +09:00
Paul Masurel
37e4280c0a
Cargo Format ( #420 )
2018-09-15 07:44:22 +09:00
Paul Masurel
cec9956a01
Issue/389 ( #405 )
...
* Setting up the dependency.
* Completed README
2018-09-06 10:10:40 +09:00
Paul Masurel
b3b2421e8a
Issue/367 ( #404 )
...
* First stab
* Closes #367
2018-09-04 09:17:00 +09:00
Dru Sellers
ef3a16a129
Switch from error-chain to failure crate ( #376 )
...
* Switch from error-chain to failure crate
* Added deprecated alias for
* Started editing the changeld
2018-08-20 09:40:45 +09:00
Vignesh Sarma K
b9558801a1
Declare and implement separate Clone Traits ( #336 )
...
For traits, `Directory` and `MergePolicy`.
refer #306
2018-07-18 12:36:43 +09:00
Paul Masurel
af9280c95f
Removed SourceRead. Relying on the new owned-read crate instead
2018-07-04 12:47:25 +09:00
Paul Masurel
8ebbf6b336
Issue/325 ( #330 )
...
* Introducing a SegmentMea inventory.
* Depending on census=0.1
* Cargo fmt
2018-06-30 13:11:41 +09:00
Paul Masurel
8ccbfdea5d
Preparing for release
2018-06-22 14:27:46 +09:00
Dru Sellers
08d2cc6c7b
Make it possible to stream the terms matching an Automaton ( #297 )
...
* rustfmt and some English grammar
* sort cargo.toml crates
* WIP: something to show
* Remove example for now
* Implement desired method
* Resolving Generic Type Arguments
* Resolve Generic Types
* Banging around on the tests
* DANGER! Change unsafe usage based on compiler warnings
* Unscrew up my rebase
* Clean Up Type Spam
Default Types FTW
* typo
* better variable names
* Remove Duplicate Levenshtein crate
2018-05-11 12:41:14 -07:00
Paul Masurel
78673172d0
Cargo fmt
2018-04-21 20:05:36 +09:00
Paul Masurel
e44782bf14
No more
2018-04-12 13:01:11 +09:00
Paul Masurel
1d9566e73c
Making mmap a feature
2018-03-31 13:23:43 +09:00
Paul Masurel
3091459777
Fixed main bug. Unit test still not passing because of altered scoring
2018-03-23 13:52:10 +09:00
Paul Masurel
baaae3f4ec
Making it possible to read positions twice
2018-03-20 11:36:22 +09:00
Paul Masurel
920f086e1d
Clippy
2018-02-03 11:46:01 +09:00
Paul Masurel
df53dc4ceb
Format
2018-02-03 00:21:05 +09:00
Paul Masurel
930010aa88
Unit test passing
2018-01-28 00:03:51 +09:00
Paul Masurel
3edb3dce6a
Test not passing
2018-01-25 12:46:32 +09:00
Paul Masurel
7224f58895
Merge branch 'issue/218'
...
Conflicts:
src/directory/mmap_directory.rs
src/lib.rs
2018-01-04 18:47:10 +09:00
Paul Masurel
1e55189db1
NOBUG rustfmt
2017-12-14 19:30:31 +09:00
Paul Masurel
8b1b389a76
NOBUG Clippy
2017-12-14 19:25:12 +09:00