Skip to content

Commit

Permalink
doc: Remove reference to Searcher pool. (#1598)
Browse files Browse the repository at this point in the history
The pool of searchers was removed in 23fe73a as part of #1411.
  • Loading branch information
waywardmonkeys authored Oct 5, 2022
1 parent 2063f17 commit c2f1c25
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,7 @@ impl InnerIndexReader {
/// It controls when a new version of the index should be loaded and lends
/// you instances of `Searcher` for the last loaded version.
///
/// `Clone` does not clone the different pool of searcher. `IndexReader`
/// just wraps an `Arc`.
/// `IndexReader` just wraps an `Arc`.
#[derive(Clone)]
pub struct IndexReader {
inner: Arc<InnerIndexReader>,
Expand Down Expand Up @@ -294,9 +293,6 @@ impl IndexReader {
///
/// This method should be called every single time a search
/// query is performed.
/// The searchers are taken from a pool of `num_searchers` searchers.
/// If no searcher is available
/// this may block.
///
/// The same searcher must be used for a given query, as it ensures
/// the use of a consistent segment set.
Expand Down

0 comments on commit c2f1c25

Please sign in to comment.