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 as_any(&self) -> &Any
[src]
Used to make it possible to cast Box into a specific type. This is mostly useful for unit tests. Read more
fn weight(&self, _: &Searcher) -> Result<Box<Weight>>
[src]
Create the weight associated to a query. Read more
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