trinity-1686a
85395d942a
fix clippy lints from 1.80-1.81 ( #2488 )
...
* fix some clippy lints
* fix clippy::doc_lazy_continuation
* fix some lints for 1.82
2024-09-05 14:33:05 +02:00
Alex Cole
f2f38c43ce
Make BM25 scoring more flexible ( #1855 )
...
* Introduce Bm25StatisticsProvider to inject statistics
* fix formatting I accidentally changed
2023-02-16 19:14:12 +09:00
Shikhar Bhushan
2650111b76
EnableScoring::Disabled - optional Searcher ( #1780 )
2023-01-12 09:26:50 -05:00
Paul Masurel
3edf0a2724
Using the manual reload policy in IndexWriter. ( #1667 )
2022-11-09 11:20:41 +01:00
Bruce Mitchener
cb252a42af
docs: "associated to" -> "associated with" ( #1557 )
...
This reads better this way.
2022-09-26 20:23:37 +09:00
Bruce Mitchener
cf02e32578
Improvements to doc linking, grammar, etc.
2022-09-19 18:10:22 +07:00
Adam Reichold
71ab482720
RFC: Use a more general but still object-safe signature for Query::query_terms. ( #1468 )
...
* Use a more general but still object-safe signature for Query::query_terms.
* Further constraint the generalized Query::query_terms signature to allow extracting references to terms.
2022-08-24 06:34:07 +09:00
Antoine G
11e4225f23
doc fix ( #1391 )
...
Documentation fix.
2022-06-21 15:53:33 +09:00
Paul Masurel
eca6628b3c
Minor refactoring ( #1266 )
2022-01-28 15:55:55 +09:00
Paul Masurel
6e4b61154f
Issue/1070 ( #1071 )
...
Add a boolean flag in the Query::query_terms informing on whether
position information is required.
Closes #1070
2021-06-03 22:33:20 +09:00
Stéphane Campinas
a0ec6e1e9d
Expand the DocAddress struct with named fields
2021-03-28 19:00:23 +02:00
Paul Masurel
9e27da8b4e
Added CR comments.
...
Added Unit tests.
2020-10-28 17:35:34 +09:00
Paul Masurel
07f9b828ae
Added Send and Sync to the Query trait.
2020-09-19 21:04:29 +09:00
Paul Masurel
ae14022bf0
Removed use::Result. ( #771 )
2020-01-31 18:47:02 +09:00
Paul Masurel
0bc2c64a53
2018 ( #585 )
...
* removing macro import for fail-rs
* Downcast-rs
* matches
2019-07-07 17:09:04 +09:00
Paul Masurel
462774b15c
Tiqb feature/2018 ( #583 )
...
* rust 2018
* Added CHANGELOG comment
2019-07-01 10:01:46 +09:00
Paul Masurel
4822940b19
Issue/36 ( #559 )
...
* Added explanation
* Explain
* Splitting weight and idf
* Added comments
Closes #36
2019-06-06 10:03:54 +09:00
Paul Masurel
6a547b0b5f
Issue/483 ( #484 )
...
* Downcast_ref
* fixing unit test
2019-01-28 11:43:42 +01:00
Paul Masurel
07d87e154b
Collector refactoring and multithreaded search ( #437 )
...
* 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.
* Attempt to add MultiCollector back
* working. Chained collector is broken though
* Fix chained collector
* Fix test
* Make Weight Send+Sync for parallelization purposes
* Expose parameters of RangeQuery for external usage
* Removed &mut self
* fixing tests
* Restored TestCollectors
* blop
* multicollector working
* chained collector working
* test broken
* fixing unit test
* blop
* blop
* Blop
* simplifying APi
* blop
* better syntax
* Simplifying top_collector
* refactoring
* blop
* Sync with master
* Added multithread search
* Collector refactoring
* Schema::builder
* CR and rustdoc
* CR comments
* blop
* Added an executor
* Sorted the segment readers in the searcher
* Update searcher.rs
* Fixed unit testst
* changed the place where we have the sort-segment-by-count heuristic
* using crossbeam::channel
* inlining
* Comments about panics propagating
* Added unit test for executor panicking
* Readded default
* Removed Default impl
* Added unit test for executor
2018-11-30 22:46:59 +09:00
Paul Masurel
37e4280c0a
Cargo Format ( #420 )
2018-09-15 07:44:22 +09:00
Paul Masurel
63868733a3
Added SnippetGenerator
2018-09-11 09:45:27 +09:00
Paul Masurel
644d8a3a10
Added snippet generator
2018-09-10 16:39:45 +09:00
Paul Masurel
e32dba1a97
Phrase weight
2018-09-10 09:26:33 +09:00
Paul Masurel
6704ab6987
Added methods to extract the matching terms. First stab
2018-08-30 09:47:19 +09:00
Paul Masurel
bc69dab822
cargo fmt
2018-05-18 10:08:05 +09:00
Jason Wolfe
72acad0921
Add box_clone() and downcast::Any to Query ( #303 )
2018-05-18 09:53:11 +09:00
Paul Masurel
78673172d0
Cargo fmt
2018-04-21 20:05:36 +09:00
Paul Masurel
0107fe886b
Removed timer
2018-03-31 15:40:16 +09:00
Paul Masurel
ffa03bad71
TermScorer does not handle deletes
2018-03-27 17:35:20 +09:00
Paul Masurel
ef94582203
Rustfmt
2018-02-19 12:12:10 +09:00
Paul Masurel
e608e0a1df
Removed half baked usage of Any
2018-02-18 10:01:14 +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
1da06d867b
Using the same logic when score is enabled.
2018-02-16 17:36:33 +09:00
Paul Masurel
dd8332c327
Added disabling scoring
2018-02-02 12:11:56 +09:00
Paul Masurel
1e55189db1
NOBUG rustfmt
2017-12-14 19:30:31 +09:00
Paul Masurel
f24e5f405e
NOBUG intellij misc lint
2017-12-14 18:23:35 +09:00
Paul Masurel
f8593c76d5
Merge branch 'imhotep-new-codec'
...
Conflicts:
src/common/bitpacker.rs
src/compression/pack/compression_pack_nosimd.rs
src/indexer/log_merge_policy.rs
2017-08-28 19:30:01 +09:00
Paul Masurel
f8710bd4b0
Format
2017-08-28 18:22:41 +09:00
Dru Sellers
2bb85ed575
Minor Doc Changes ( #206 )
...
* Various small documentation tweaks
* walking through the docs
* Update lib.rs
* Update lib.rs
* Update mod.rs
2017-08-06 09:22:03 +09:00
Paul Masurel
09e27740e2
Added fill_buffer in DocSet
2017-06-14 18:28:30 +09:00
Paul Masurel
66e14ac1b1
clippy
2017-05-25 18:17:37 +09:00
Laurentiu Nicola
8e407bb314
clippy: fix needless_borrow warnings
2017-05-17 15:50:07 +09:00
Laurentiu Nicola
3dde748b25
Make rustfmt happy
2017-05-16 00:49:05 +03:00
Paul Masurel
4c8f9742f8
format
2017-05-15 22:30:18 +09:00
Paul Masurel
5f96823e80
issue/50 Switched to BooleanQueryScorer
2016-10-31 10:24:45 +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