Paul Masurel
2c56f4b583
Updated CHANGELOG
2020-10-28 17:39:01 +09:00
Paul Masurel
9e27da8b4e
Added CR comments.
...
Added Unit tests.
2020-10-28 17:35:34 +09:00
Adrien Guillo
7f373f232a
Add helper methods for BooleanQuery
2020-10-28 17:35:34 +09:00
Stephen Becker IV
6f0487979c
Removing Inoperable 'Say Thanks' Links ( #919 )
...
Dearest Maintainer,
The say thanks project moved to email https://github.com/BlitzKraft/saythanks.io/issues/60 . I removed the links. You might want to use your email but at that point people could just email you thanks?
Anyway, Thanks for the hard work on the project. I am enjoying it.
Dictated but not reviewed,
Becker
2020-10-28 15:08:47 +09:00
Pasha Podolsky
71c66a5405
[tantivy] Run clippy linter ( #914 )
2020-10-27 14:36:02 +09:00
Paul Masurel
2eb5326aa4
Fixing compilation
2020-10-27 14:00:14 +09:00
Paul Masurel
91e92fa8a3
Made public.
2020-10-20 14:59:41 +09:00
Paul Masurel
9cc1661ce2
Updating crossbeam ( #909 )
2020-10-13 10:55:50 +09:00
Paul Masurel
c3f44d38f3
Moving HasLen ( #910 )
2020-10-13 10:19:30 +09:00
Paul Masurel
01b4aa9adc
Refactoring dir ( #905 )
2020-10-11 22:22:56 +09:00
Paul Masurel
7a78b1cba3
Fix unit test on windows
2020-10-09 14:57:39 +09:00
Paul Masurel
4d011cc648
Updated changelog
2020-10-09 14:54:07 +09:00
Pasha Podolsky
80cbe889ba
[tantivy] Add brotli codec for row storage ( #885 )
...
* [tantivy] Add brotli codec for row storage
* [tantivy] Fix not actual comments for code
* [CR] Fixes for comment and cursor
2020-10-09 14:51:42 +09:00
Paul Masurel
c23a03ad81
Large API Change in the Directory API. ( #901 )
...
Tantivy used to assume that all files could be somehow memory mapped. After this change, Directory return a `FileSlice` that can be reduced and eventually read into an `OwnedBytes` object. Long and blocking io operation are still required by they do not span over the entire file.
2020-10-08 16:36:51 +09:00
Paul Masurel
579e3d1ed8
Removed dev-deps to serde_yaml
2020-10-06 10:04:06 +09:00
Pasha Podolsky
687a36a49c
[tantivy] Fix for schema deserialization error ( #902 )
...
Co-authored-by: Pasha <pasha@izihawa.net >
2020-10-05 11:24:48 +09:00
Paul Masurel
ad82b455a3
Minor change
2020-10-01 20:45:07 +09:00
Paul Masurel
848afa43ee
Merge branch 'issue/896' into main
2020-10-01 20:43:42 +09:00
Paul Masurel
7720d21265
Closes #896 - Facet reader related
...
Bugfix. Acquiring a facet reader on a segment that does not contain any
doc with this facet returns `None`.
0.13.2
2020-10-01 20:25:28 +09:00
Paul Masurel
96f946d4c3
Raultang master ( #879 )
...
* add support for indexed bytes fast field
* remove backup code file
* refine test cases
* Simplified unit test. Renamed it as it is testing the storable part. Not the indexed part.
* Small refactoring and added unit test. If multivalued we only retain the first FAST value.
Co-authored-by: Raul <raul.tang.lc@gmail.com >
2020-10-01 18:03:18 +09:00
dependabot-preview[bot]
3432149759
Update base64 requirement from 0.12 to 0.13 ( #895 )
...
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64 ) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.12.0...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-01 11:37:36 +09:00
Paul Masurel
392221e36a
Removing dead file
2020-10-01 11:36:55 +09:00
Paul Masurel
674cae8ee2
Issue/822 TopDocs sorted by i64, and date fastfield (in addition to u64) ( #890 )
...
* Unsatisfactory implementation.
The fastfield are hit. But for performance, we want the comparison to happen on u64,
and the conversion to the FastType to be done only on the selected TopK
elements.
For i64, the current approach might be ok.
For DateTime, it is most likely catastrophic.
Closes #822
* Decoupled SegmentCollector Fruit from Collector Fruit.
Deferred conversion from u64 to the proper FastField type to after the overall collection.
(tantivy guarantees that u64 encoding is consistent with the original
ordering of the fastfield)
Closes #882
2020-09-30 17:51:11 +09:00
Paul Masurel
838c476733
Hirevo move to thiserror ( #889 )
...
* Migrated from `failure` to `thiserror`
* Refactoring
Co-authored-by: Nicolas Polomack <nicolas@polomack.eu >
2020-09-30 16:34:10 +09:00
Paul Masurel
5f574348d1
Syntactic change.
2020-09-26 21:33:00 +09:00
Paul Masurel
19a02b2c30
Merge tag '0.13.1'
...
0.13.1 was published as a hotfix to accomodate tantivy-py.
2020-09-19 21:20:27 +09:00
Paul Masurel
c339b05789
Bumped version and edited changelog
0.13.1
2020-09-19 21:13:19 +09:00
Paul Masurel
2d3c657f9d
Added Send Sync to collectors.
2020-09-19 21:04:44 +09:00
Paul Masurel
07f9b828ae
Added Send and Sync to the Query trait.
2020-09-19 21:04:29 +09:00
Paul Masurel
70bae7ce4c
Removing Term Vec allocation ( #881 )
2020-09-08 23:11:00 +09:00
Paul Masurel
ac2a7273e6
Re-added comment to Score.
2020-09-08 21:41:34 +09:00
Paul Masurel
4ce9517a82
fix unit test for bench. remove scoref64 feature. fixed test for lz4 feature.
2020-09-08 07:35:00 +09:00
Paul Masurel
73024a8af3
Fixing compilation of bench and doctests.
2020-09-08 07:18:43 +09:00
Paul Masurel
e70e605fc3
fix unit test (at least on linux)
2020-09-07 23:35:04 +09:00
Paul Masurel
439d6956a9
Returning Result in some of the API ( #880 )
...
* Returning Result in some of the API
* Introducing `.writer_for_test(..)`
2020-09-07 15:52:34 +09:00
Paul Masurel
6530bf0eae
Make field types less strict when populating documents.
2020-09-06 10:24:03 +09:00
Paul Masurel
151498cbe7
Creating the tempfile for atomicwrites in the same directory as the MmapDirectory. ( #878 )
2020-09-05 23:06:29 +09:00
Paul Masurel
3a72b1cb98
Accept dash within field names. ( #874 )
...
Accept dash in field names and enforce field names constraint at the
creation of the schema.
Closes #796
2020-09-01 13:38:52 +09:00
Paul Masurel
2737822620
Fixing unit tests. ( #868 )
...
There was a unit test failing when notify was sending more
than one event on atomicwrites.
It was observed on MacOS CI.
2020-08-27 16:43:39 +09:00
b8591340
06c12ae221
Filter meta.json from validate_checksum ( #872 )
2020-08-27 07:54:37 +09:00
Paul Masurel
4e4400af7f
Added cargo timing report to .gitignore
2020-08-23 16:15:28 +09:00
Paul Masurel
3f1ecf53ab
Merge branch 'master' of github.com:tantivy-search/tantivy
2020-08-22 21:30:47 +09:00
Paul Masurel
0b583b8130
Plastic changes
2020-08-22 21:29:12 +09:00
Paul Masurel
31d18dca1c
Removing dependency to atomicwrites ( #866 )
2020-08-21 21:37:05 +09:00
stephenlagree
5e06e7de5a
Update basic_search.rs ( #865 )
...
Remove duplicated document entry.
2020-08-21 11:23:09 +09:00
Paul Masurel
8af53cbd36
Merge branch 'master' of github.com:tantivy-search/tantivy
2020-08-21 08:57:42 +09:00
Paul Masurel
4914076e8f
Fixing release build
2020-08-21 08:57:27 +09:00
Paul Masurel
e04f47e922
Using block wand for term queries too.
2020-08-20 15:51:21 +09:00
Paul Masurel
f355695581
Code clean up
2020-08-20 15:42:50 +09:00
Paul Masurel
cbacdf0de8
Edited README.
2020-08-20 14:28:24 +09:00