Paul Masurel
cbfb2fe19d
Avoid building twice when doing code coverage
2018-08-13 10:38:01 +09:00
Vignesh Sarma K
09e00f1d42
add position_length to Token ( #337 )
...
* add position_length to Token
refer #291
* Add term offset to `PhraseQuery`
ref #291
* Add new constructor for `PhraseQuery` that allows custom offset
* fix the method name as per pr comment
* Closes #291
Added unit test.
Using offsets from the analyzer in QueryParser.
2018-08-13 10:14:50 +09:00
Paul Masurel
290620fdee
Added slashes
2018-08-13 09:13:01 +09:00
petr-tik
f0d1b85bd8
N370 pr fix num searchers ( #371 )
...
* Change ordering to Acquire
* set_num_searchers now uses AtomicUsize.store
2018-08-13 08:56:30 +09:00
petr-tik
aaef546f91
Moved NUM_SEARCHERS into a local variable ( #369 )
...
* Moved NUM_SEARCHERS into a local variable
dynamically determined as the number of available cpus.
var name in lowercase (not a constant anymore).
updated it in docstring
* lowercased the varnames
* User can set number of logical cores in create_from_metas
* cargo fmt
* Num_searchers as Arc<AtomicUsize>
Retrieving the value with Relaxed ordering
Reverted create_from_metas signature. However, it calls num_cpus and
sets the Arc val
2018-08-12 20:08:14 +09:00
Paul Masurel
811ddf2226
Closes #364 ( #365 )
...
* Closes #364
* Trying to raise the recursion limit
* Better unit test and bug fix on token offsets
2018-08-08 11:15:20 +09:00
Paul Masurel
79a339d353
Removing env_logger dependency
2018-08-02 19:29:09 +09:00
Paul Masurel
e45e4c79d9
update crossbeam
2018-08-02 19:24:08 +09:00
Paul Masurel
848bf41bc9
Updating rand to 0.5 ( #363 )
2018-08-02 19:19:04 +09:00
Paul Masurel
d11cb087a7
Updated to combine-0.3 ( #362 )
2018-08-02 18:29:58 +09:00
Jacob Brown
2dd7422f42
replace chan with crossbeam-channel ( #361 )
...
* replace chan with crossbeam-channel
* Update Cargo.toml
2018-08-02 12:47:22 +09:00
Paul Masurel
e8707c02c0
Issue/333 ( #335 )
...
* Add skip information for posting list (skip to doc ids)
* Separate num bits from data for positions (skip n positions)
* Address in the position using a n-position offset
* Added a long skip structure to allow efficient opening of the position for a given term.
2018-07-31 10:51:53 +09:00
dependabot[bot]
55928d756a
Update rust-stemmers requirement to 1.0.2 ( #350 )
...
* Update rust-stemmers requirement to 1.0.2
Updates the requirements on [rust-stemmers](https://github.com/CurrySoftware/rust-stemmers ) to permit the latest version.
- [Release notes](https://github.com/CurrySoftware/rust-stemmers/releases )
- [Commits](https://github.com/CurrySoftware/rust-stemmers/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Update Cargo.toml
2018-07-31 09:32:57 +09:00
dependabot[bot]
a4370bca64
Update owned-read requirement to 0.4 ( #352 )
...
Updates the requirements on [owned-read](https://github.com/tantivy-search/owned-read ) to permit the latest version.
- [Release notes](https://github.com/tantivy-search/owned-read/releases )
- [Commits](https://github.com/tantivy-search/owned-read/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-07-31 09:32:01 +09:00
dependabot[bot]
5a5c5a8ca5
Update bit-set requirement to 0.5.0 ( #351 )
...
* Update bit-set requirement to 0.5.0
Updates the requirements on [bit-set](https://github.com/contain-rs/bit-set ) to permit the latest version.
- [Release notes](https://github.com/contain-rs/bit-set/releases )
- [Commits](https://github.com/contain-rs/bit-set/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Update Cargo.toml
* Update Cargo.toml
2018-07-31 09:31:41 +09:00
dependabot[bot]
1b470dd474
Update log requirement to 0.4.3 ( #353 )
...
* Update log requirement to 0.4.3
Updates the requirements on [log](https://github.com/rust-lang/log ) to permit the latest version.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits/env_logger-0.4.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Update Cargo.toml
2018-07-31 09:31:19 +09:00
Paul Masurel
52b4575245
Issue/355 ( #358 )
...
* issue with top_k sorting (#356 )
* Closes #355
2018-07-31 08:24:55 +09:00
dependabot[bot]
ddd2d5b04c
Update lazy_static requirement to 1.0.2 ( #349 )
...
* Update lazy_static requirement to 1.0.2
Updates the requirements on [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) to permit the latest version.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits/v1.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Update Cargo.toml
2018-07-30 12:34:06 +09:00
dependabot[bot]
fa22b4041a
Update itertools requirement to 0.7.8 ( #346 )
...
* Update itertools requirement to 0.7.8
Updates the requirements on [itertools](https://github.com/bluss/rust-itertools ) to permit the latest version.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Commits](https://github.com/bluss/rust-itertools/commits/0.7.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Update Cargo.toml
2018-07-30 11:32:12 +09:00
dependabot[bot]
8faee143fa
Update regex requirement to 1.0 ( #347 )
...
Updates the requirements on [regex](https://github.com/rust-lang/regex ) to permit the latest version.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/commits/1.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-07-30 09:59:19 +09:00
dependabot[bot]
366ce98f08
Update tempfile requirement to 3.0 ( #348 )
...
Updates the requirements on [tempfile](https://github.com/Stebalien/tempfile ) to permit the latest version.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/commits/v3.0.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-07-30 09:58:56 +09:00
Paul Masurel
190e60a41c
Closes #339 . ( #340 )
...
As required per the FacetCollector,
facet values needs to be sorted before being encoded in the
multivalued field.
2018-07-25 18:21:48 +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
36728215ac
Using the codecov badge
2018-07-10 21:19:59 +09:00
Paul Masurel
39551a0418
fix travis
2018-07-10 13:08:22 +09:00
Paul Masurel
39b98b2e76
fix travis
2018-07-10 13:07:15 +09:00
Paul Masurel
616162400d
Add missing space
2018-07-10 12:49:32 +09:00
Paul Masurel
694d164db6
fix travis.yml
2018-07-10 09:39:39 +09:00
Paul Masurel
ef442cefb1
codecov
2018-07-10 09:38:59 +09:00
Paul Masurel
14da241f35
Readed cov
2018-07-10 09:25:24 +09:00
Paul Masurel
346a9e4287
Set dev version
2018-07-10 09:20:21 +09:00
Paul Masurel
31655e92d7
Preparing release 0.6.1
0.6.1
2018-07-10 09:12:26 +09:00
Paul Masurel
6b8d76685a
Tiny refactoring
2018-07-05 09:11:55 +09:00
Paul Masurel
ce5683fc6a
Removed useless counting_writer
2018-07-04 16:13:19 +09:00
Paul Masurel
5205579db6
Merge branch 'master' of github.com:tantivy-search/tantivy
2018-07-04 16:09:59 +09:00
Paul Masurel
d056ae60dc
Removed SourceRead. Relying on the new owned-read crate instead ( #332 )
2018-07-04 16:08:52 +09:00
Paul Masurel
af9280c95f
Removed SourceRead. Relying on the new owned-read crate instead
2018-07-04 12:47:25 +09:00
David Hewson
2e538ce6e6
remove extra space in name ( #331 )
...
the extra space that appeared breaks using the package
2018-07-02 05:32:19 +09:00
Jason Wolfe
00466d2b08
#328 : Support parsing unbounded range queries ( #329 )
...
* #328 : Support parsing unbounded range queries. Update CHANGELOG.md for query parser changes.
* Set version to 0.7-dev
2018-06-30 13:24:02 +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
1ce36bb211
Merge branch 'master' of github.com:tantivy-search/tantivy
2018-06-27 16:58:47 +09:00
Jason Wolfe
2ac43bf21b
Support parsing RangeQuery and AllQuery in Queryparser ( #323 )
...
* (#321 ) Add support for range query parsing to grammar / parser. Still needs to be wired through the rest of the way.
* (321) Finish wiring RangeQuery parsing through
* (#321 ) Add logical AST query parser tests for RangeQuery
* (#321 ) Support parsing AllQuery
* (#321 ) Update documentation of QueryParser
* (#321 ) Support negative numbers in range query parsing
2018-06-25 08:29:47 +09:00
Paul Masurel
3fd8c2aa5a
Removed one keywoard
2018-06-22 14:47:21 +09:00
Paul Masurel
c1022e23d2
Switching to stable rust in AppVeyor.
0.6.0
2018-06-22 14:33:42 +09:00
Paul Masurel
8ccbfdea5d
Preparing for release
2018-06-22 14:27:46 +09:00
Paul Masurel
badfce3a23
Preparing for release.
2018-06-22 14:09:14 +09:00
Dru Sellers
e301e0bc87
Add some simple doc tests ( #320 )
...
* Add TopCollector doc test
* Add CountCollector Doc Test
* Add Doc Test for MultiCollector
* Add ChainedCollector Doc Test
* Expose Fuzzy Query where it should be
* Add FuzzyTermQuery Doc Test
* Expose RegexQuery
* Regex Query Doc Test
* Add TermQuery Doc Test
* Add doc comments
* fix test 🤦
* Added explanation about the complexity variables
* Fixing unit tests
* Single threads if you check docids
2018-06-19 10:45:20 +09:00
Dru Sellers
317baf4e75
Add in simple regex query support ( #319 )
...
* Add fst_regex crate in
* Reduce API surface area
This doesn't need to be public
* better test name
* Pull Automaton weight out so it can be shared
* Implement Regex Query
2018-06-16 14:08:30 +09:00
Paul Masurel
24398d94e4
Exposing the
2018-06-15 21:40:57 +09:00
Dru Sellers
360f4132eb
Standardizes the Index::open_* APIs ( #318 )
...
* Relocate `from_directory` closer to its usage
* Specific methods come before the generic method
* Rename open methods to follow the lead of the create methods
2018-06-15 12:16:41 +09:00