jwolfe
327ca2ab02
Make Weight Send+Sync for parallelization purposes
2018-05-16 10:49:38 +09:00
jwolfe
16ca6a0e5c
Fix test
2018-05-14 16:40:00 +09:00
jwolfe
8c07ae653d
Merge branch 'master' into staged_collector_with_multi
2018-05-14 15:35:23 +09:00
jwolfe
3d483f8711
Fix chained collector
2018-05-14 14:20:07 +09:00
Paul Masurel
56b2e9731f
working. Chained collector is broken though
2018-05-12 16:00:58 -07:00
Jason Wolfe
c85668cabe
Attempt to add MultiCollector back
2018-05-11 22:18:43 +09:00
Jason Wolfe
89eb209ece
#294 : Make fieldnorm module public, add documentation ( #295 )
2018-05-07 20:20:38 -07:00
Paul Masurel
9a0b7f9855
Rustfmt
2018-05-07 19:50:35 -07:00
Jason Wolfe
8e343b1ca3
Add fast field for associating arbitrary bytes to a document ( #275 )
...
* Add fast field for associating arbitrary bytes to a document
* Fix unused macro_use warning
* Improvements from code review
* Make BytesFastFieldWriter public
* Fix json parsing validation failure
* Add bytes fast field to CHANGELOG.md
* Fix compile errors from merge
* Support merging
* Address misc code review comments
* Fix comments from CR
2018-05-07 19:30:31 -07:00
Paul Masurel
99c0b84036
Integrating #274 , #280 , #289 into master ( #290 )
...
* Integrating bugfixes into master
Closes #274
Closes #280
Closes #289
* Next version will be 0.6
2018-05-06 09:48:25 -07:00
Dru Sellers
ca74c14647
Simple Implementation of NGram Tokenizer ( #278 )
...
* Simple Implementation of NGram Tokenizer
It does not yet support edges
It could probably be better in many "rusty" ways
But the test is passing, so I'll call this a good stopping point for
the day.
* Remove Ngram from manager. Too many variations
* Basic configuration model
Should the extensive tests exist here?
* Add Sample to provide an End to End testing
* Basic Edgegram support
* cleanup
* code feedback
* More code review feedback processed
2018-05-06 09:47:49 -07:00
Dru Sellers
68ee18e4e8
Add Index::open_directory function ( #285 )
...
* Add Index::open_directory function
* dry
2018-05-03 00:07:46 -07:00
Jason Wolfe
8a33ddaca7
Split Collector into an overall Collector and a per-segment SegmentCollector. Precursor to cross-segment parallelism, and as a side benefit cleans up any per-segment fields from being Option<T> to just T.
2018-05-02 14:08:52 +09:00
Paul Masurel
5637657c2f
Removed ptr dereference for explicit ptr::read_unaligned
2018-04-25 19:15:32 +09:00
Paul Masurel
2e3c9a8878
Bugfix in murmurhash.
2018-04-25 19:06:31 +09:00
Paul Masurel
78673172d0
Cargo fmt
2018-04-21 20:05:36 +09:00
Paul Masurel
175b76f119
Removed streamdict
...
Closes #271
2018-04-21 19:55:41 +09:00
Paul Masurel
9b79e21bd7
Returning error when schema is not valid for a given query.
2018-04-19 13:02:30 +09:00
Paul Masurel
5e38ae336f
Bump tantivy version and readded win deps
2018-04-17 18:27:57 +09:00
Paul Masurel
8604351f59
Hide some of the API
...
Added some doc.
2018-04-17 13:31:22 +09:00
Paul Masurel
6a48953d8a
Closes #266 ( #268 )
...
PhraseQuery panics with a nice error message when the underlying field does not have any positions.
The `QueryParser` fails as well with a dedicated error.
2018-04-17 10:03:15 +09:00
pmasurel
0804b42afa
Checking the type of range queries
2018-04-16 14:01:10 +09:00
Paul Masurel
8083bc6eef
bench working
2018-04-15 12:25:38 +09:00
Paul Masurel
0156f88265
Compiles in stable rust
2018-04-15 11:03:44 +09:00
Paul Masurel
a1c07bf457
Added iterator for facet collector
2018-04-14 20:22:02 +09:00
Paul Masurel
9de74b68d1
Remove range argument
2018-04-13 18:34:23 +09:00
Paul Masurel
57c7073867
Removed
2018-04-13 09:43:36 +09:00
Paul Masurel
121374b89b
Removed the need for AtomicU64
2018-04-12 22:08:15 +09:00
Paul Masurel
e44782bf14
No more
2018-04-12 13:01:11 +09:00
Paul Masurel
dfafb24fa6
Bumped bitpacker's version
2018-04-10 21:21:47 +09:00
jason-wolfe
4c6f9541e9
#263 : Make MultiValueIntFastFieldWriter public, expose via FastFieldsWriter ( #264 )
2018-04-10 12:27:34 +09:00
Paul Masurel
743ae102f1
Using bitpacker@3
2018-04-10 10:05:42 +09:00
Paul Masurel
0107fe886b
Removed timer
2018-03-31 15:40:16 +09:00
Paul Masurel
1d9566e73c
Making mmap a feature
2018-03-31 13:23:43 +09:00
Paul Masurel
8006f1df11
Added comments
2018-03-28 08:28:49 +09:00
Paul Masurel
ffa03bad71
TermScorer does not handle deletes
2018-03-27 17:35:20 +09:00
Paul Masurel
98cf4ba63a
Small refactor of postings's skip method
2018-03-27 16:14:28 +09:00
Paul Masurel
4d65771e04
field norm reader is not an option anymore.
2018-03-26 13:25:29 +09:00
Paul Masurel
9712a75399
Added unit test for intersection score
2018-03-25 12:58:24 +09:00
Paul Masurel
3ae03b91ae
PhraseScorer's score aligned with that of Lucene.)
2018-03-25 12:44:16 +09:00
Paul Masurel
238b02ce7d
Bugfixed
2018-03-23 18:50:57 +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
b7f8884246
Closes #245 = BM25. ( #260 )
...
* Closes #245 = BM25.
Scores are the same as Lucene.
* Fixing travis conf
2018-03-22 15:06:56 +09:00
Paul Masurel
e22f767fda
Backmerge
2018-03-21 21:18:46 +09:00
Paul Masurel
3ecfc36e53
Total field norm fixed.
2018-03-21 20:43:02 +09:00
Paul Masurel
1c9450174e
Fieldnorm reader working except merge
2018-03-21 17:36:16 +09:00
Paul Masurel
cde4c391cd
Added fieldnorm module
2018-03-21 15:41:46 +09:00
Paul Masurel
6d47634616
Added unit tests
2018-03-20 12:11:28 +09:00
Paul Masurel
39b182c24b
Simplified phrase queries. Reading several time is ok.
2018-03-20 11:47:48 +09:00
Paul Masurel
baaae3f4ec
Making it possible to read positions twice
2018-03-20 11:36:22 +09:00