Commit Graph

480 Commits

Author SHA1 Message Date
Paul Masurel 893932dff8 issue/50 Implementation ooleanScorer. 2016-10-30 17:03:37 +09:00
Paul Masurel fa78baf278 issue/50 Introducing Term Query / Boolean Query 2016-10-30 17:03:00 +09:00
Paul Masurel 8b5f7af688 issue/50 Added documentation for the query object. 2016-10-30 10:06:51 +09:00
Paul Masurel 767fa94d18 issue/50 Removed StandardQuery 2016-10-29 17:13:12 +09:00
Paul Masurel 332be6d581 issue/50 Removed ScoredDoc 2016-10-29 15:09:46 +09:00
Paul Masurel 67b1071412 issue/50 Moved segment local collection to the DocSet object. 2016-10-29 14:41:50 +09:00
Paul Masurel 0ca7832875 issue/50 First try
The dynamic dispatch is not hurting perf a little.

The "the" query goes from 158 ms -> 188 ms.
2016-10-29 13:00:08 +09:00
Paul Masurel a788cdb4a0 issue#47 Fixed bug in docstore. Also, cache the last decompressed block. 2016-10-26 10:11:56 +09:00
Paul Masurel c4f00c180e NOBUG Bugfix the last segment updates are not saved. save_metas must happen before removing the segments. 2016-10-25 10:48:49 +09:00
Paul Masurel 91b8402e61 NOBUG Using BufWriter<Box<Write>> 2016-10-25 10:27:43 +09:00
Paul Masurel 99ca43fd22 NOBUG introduced DefaultMergePolicy type 2016-10-24 22:41:14 +09:00
Paul Masurel 1f5ed8a2b6 Merge branch 'issue/38' 2016-10-24 22:33:59 +09:00
Paul Masurel 6dcac90f49 issue38 Slightly cleaner code. 2016-10-24 22:33:33 +09:00
Paul Masurel 5b3a5ce6f8 ISSUE-38 StoreWriter working with skiplist. 2016-10-21 09:53:16 +09:00
Paul Masurel 8534443dfb NOBUG Added NoMergePolicy 2016-10-21 08:45:50 +09:00
Paul Masurel 1d741df7b1 #38 splitting DataSource. 2016-10-18 20:16:34 +09:00
Paul Masurel da656312ef Merge branch 'master' of github.com:fulmicoton/tantivy 2016-10-17 10:10:12 +09:00
Paul Masurel 6d92c1a442 NOBUG added link to example 2016-10-16 23:51:49 +09:00
Paul Masurel f76f5abc09 NOBUG Added logo in rustdoc 2016-10-16 23:47:09 +09:00
Paul Masurel 8f6633d41b Merge pull request #35 from fulmicoton/bug/4
Closes #4
2016-10-16 23:35:03 +09:00
Paul Masurel 9358eb32f0 bug/4 Removed useless use of Cursor. 2016-10-16 23:25:03 +09:00
Paul Masurel 20c089b9f1 bug/4 fixed for clippy 2016-10-16 18:31:29 +09:00
Paul Masurel 2b7444b11a bug/4 Removed race condition in SegmentUpdater 2016-10-16 17:04:45 +09:00
Paul Masurel e5b51e57b4 Merge branch 'master' into bug/4 2016-10-15 22:59:36 +09:00
Paul Masurel 21192db593 bug/4 Fixed race condition in pool. 2016-10-15 19:20:10 +09:00
Paul Masurel 0f246ba908 bug/4 Introduce segment_updater 2016-10-15 12:16:30 +09:00
Paul Masurel 746d6284d9 #4 Using peek_mut API from binary heap instead of replace 2016-10-14 15:30:36 +09:00
Paul Masurel b499d76f91 bug/4 Added docstamp in segment manager to make it possible for index_writer to wait for the segmetn manager to be up to date 2016-10-13 10:46:29 +09:00
Paul Masurel e1ed36f646 Merge pull request #34 from White-Oak/doc-macro
Added a macro to define document simply
2016-10-12 18:24:35 +09:00
White-Oak 69d1bbb70b Added a macro to define document simply
Added a test to cover that.
Added `impl From<&str> for Value` for dco macro usage.
2016-10-12 11:47:46 +03:00
Paul Masurel 3bc9978d95 bug/4 Pretty bad race condition remaining
1
2016-10-12 10:41:41 +09:00
Paul Masurel 97099e9911 bug/4 Allocating heap in a slightly less unsafe way 2016-10-11 10:32:15 +09:00
Paul Masurel fe905ff18b bug/4 Bugfix, and made unit test way faster 2016-10-11 08:59:41 +09:00
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 1435327ad1 NOBUG Changed tantivy logo 2016-10-06 09:56:26 +09:00
Paul Masurel 2007633115 Merge pull request #33 from currymj/lockfile
Lockfile
2016-10-04 14:29:43 +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
Michael J. Curry 21a058ec02 clarify that it is safe to delete the lockfile manually if needed [skip ci] 2016-10-03 11:40:53 -04:00
Michael J. Curry 964e56a190 document errors and panics when creating IndexWriter [skip ci] 2016-10-03 11:30:45 -04:00
Paul Masurel cd0464346c bug/4 Do not handle error in SegmentManager. 2016-10-03 20:43:01 +09:00
Michael J. Curry e0240609ab 📎 small change for clippy 2016-10-02 22:08:15 -04:00
Michael J. Curry 6fc412f70a formatting and removing some unused vars and imports 2016-10-02 22:04:04 -04:00
Michael J. Curry 1fb75a8627 check for specific error rather than any panic 2016-10-02 21:56:01 -04:00
Michael J. Curry bb42606a9b added tests for correct handling of lockfiles 2016-10-02 21:32:49 -04:00
Michael J. Curry d580b8a5ac don't actually store a pointer to the lockfile, there's no need 2016-10-02 21:19:25 -04:00
Michael J. Curry f8011c73ed delete lockfile on drop IndexWriter 2016-10-02 21:15:57 -04:00
Michael J. Curry 5986f729ee acquire and create lockfile when creating IndexWriter 2016-10-02 21:08:47 -04:00