Struct tantivy::query::AllQuery
[−]
[src]
pub struct AllQuery;
Query that matches all of the documents.
All of the document get the score 1f32.
Trait Implementations
impl Debug for AllQuery
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Query for AllQuery
[src]
fn weight(&self, _: &Searcher, _: bool) -> Result<Box<Weight>>
[src]
Create the weight associated to a query. Read more
fn count(&self, searcher: &Searcher) -> Result<usize>
[src]
Returns the number of documents matching the query.
fn search(
&self,
searcher: &Searcher,
collector: &mut Collector
) -> Result<TimerTree>
[src]
&self,
searcher: &Searcher,
collector: &mut Collector
) -> Result<TimerTree>
Search works as follows : Read more