Paul Masurel
4e8b0e89d9
Added unit test
2018-02-19 13:19:18 +09:00
Paul Masurel
0540ebb49e
Cargo clippy
2018-02-19 12:36:24 +09:00
Paul Masurel
ef94582203
Rustfmt
2018-02-19 12:12:10 +09:00
Paul Masurel
2f242d5f52
Moving docset around
2018-02-19 12:07:05 +09:00
Paul Masurel
da3d372e6e
Faster union counts
2018-02-19 10:17:16 +09:00
Paul Masurel
42fd3fe5c7
Bugfix on TermWeight::count()
2018-02-18 10:59:18 +09:00
Paul Masurel
5dae6e6bbc
Downcast TermScorer for intersection when all legs are TermScorers
2018-02-18 10:28:43 +09:00
Paul Masurel
e608e0a1df
Removed half baked usage of Any
2018-02-18 10:01:14 +09:00
Paul Masurel
6c8c90d348
Removed lifetime from scorer
2018-02-18 09:12:40 +09:00
Paul Masurel
eb50e92ec4
Removed specialized postings on SegmentPostings
2018-02-18 00:09:15 +09:00
Paul Masurel
20bede9462
Bugfix when requesting no termfreq.
2018-02-17 22:41:12 +09:00
Paul Masurel
4640ab4e65
Merge branch 'master' into issue/query-perf
2018-02-17 17:31:51 +09:00
Paul Masurel
cd51ed0f9f
Added comments
2018-02-17 16:59:28 +09:00
Paul Masurel
6676fe5717
Added a count method
2018-02-17 15:02:51 +09:00
Paul Masurel
292bb17346
Disable scoring
...
- Disabling scoring is an argument of the `.weight()` method
- Collectors declare whether they need scoring
2018-02-17 12:43:16 +09:00
Paul Masurel
0300e7272b
Scoring for union.
2018-02-17 11:56:21 +09:00
Paul Masurel
8760899fa2
Stupid implementaiton of Box<Scorer>::collect
2018-02-16 19:30:50 +09:00
Paul Masurel
c89d570a79
rustfmt
2018-02-16 17:50:05 +09:00
Paul Masurel
1da06d867b
Using the same logic when score is enabled.
2018-02-16 17:36:33 +09:00
Paul Masurel
76e8db6ed3
blop
2018-02-16 14:57:08 +09:00
Paul Masurel
31e5580bfa
Renaming intersection / exclude
2018-02-16 11:55:56 +09:00
Paul Masurel
930d3db2f7
Integrated reqopt_scorer
2018-02-16 11:43:27 +09:00
Paul Masurel
1593e1dc6f
Added reqopt
2018-02-16 11:22:39 +09:00
Paul Masurel
e0189fc9e6
Added exclude query
2018-02-14 18:06:51 +09:00
Paul Masurel
ffdb4ef0a7
Added unit test
2018-02-14 11:58:40 +09:00
Paul Masurel
58845344c2
Unit test + bugfix in union
2018-02-13 14:54:20 +09:00
Paul Masurel
548ec9ecca
Added ok unit test
2018-02-12 17:48:41 +09:00
Paul Masurel
86b700fa93
Updated travis.yml
2018-02-12 12:13:36 +09:00
Paul Masurel
e95c49e749
Added unit test to show bug in intersection
2018-02-12 12:06:19 +09:00
Paul Masurel
f3033a8469
Added sudo required to travis conf because of https://github.com/travis-ci/travis-ci/issues/9061
2018-02-12 11:19:12 +09:00
Paul Masurel
c4125bda59
Backmerging master
2018-02-12 11:08:57 +09:00
Paul Masurel
a7ffc0e610
Rustfmt
2018-02-12 10:31:29 +09:00
Paul Masurel
9370427ae2
Terminfo blocks ( #244 )
...
* Using u64 key in the store
* Using Option<> for the next element, as opposed to u64
* Code simplification.
* Added TermInfoStoreWriter.
* Added a TermInfoStore
* Added FixedSized for BinarySerialized.
2018-02-12 10:24:58 +09:00
Paul Masurel
1fc7afa90a
Issue/range query ( #242 )
...
BitSet and RangeQuery
2018-02-05 09:33:25 +09:00
Paul Masurel
6a104e4f69
Cargo fmt
2018-02-03 11:59:34 +09:00
Paul Masurel
920f086e1d
Clippy
2018-02-03 11:46:01 +09:00
Paul Masurel
13aaca7e11
Merge branch 'master' into merge-facets
2018-02-03 11:13:02 +09:00
Paul Masurel
df53dc4ceb
Format
2018-02-03 00:21:05 +09:00
Paul Masurel
dd028841e8
Added documentation / test and change the contract of .add_facet()
2018-02-03 00:17:51 +09:00
Paul Masurel
eb84b8a60d
bugfix
2018-02-02 18:52:07 +09:00
Paul Masurel
c05f46ad0e
skip for intersection
2018-02-02 17:22:58 +09:00
Paul Masurel
435ff9d524
Make constructor of RangeQuery public
2018-02-02 16:50:22 +09:00
Paul Masurel
fdd5dd8496
Merge branch 'master' into issue/query-perf
2018-02-02 16:39:28 +09:00
Paul Masurel
fb5476d5de
Query optimization: phrase query + union
2018-02-02 16:39:17 +09:00
Paul Masurel
dd8332c327
Added disabling scoring
2018-02-02 12:11:56 +09:00
Paul Masurel
63d201150b
issue/range-query Added range query
2018-02-02 00:41:12 +09:00
Paul Masurel
b78efdc59f
NOBUG Use the skipping logic of segment postings in
2018-02-01 18:36:55 +09:00
Paul Masurel
5cb08f7996
Method to create bitset from DocSet directly.
2018-02-01 18:25:43 +09:00
Paul Masurel
1947a19700
Added bitse
2018-01-31 23:56:54 +09:00
Paul Masurel
271b019420
added cargo doc
2018-01-30 15:18:19 +09:00