caio.co/de/cantine


Add more metadata to Cargo.toml by Caio 4 years ago (log)

Tree tique/


tique

Utilities to drive a tantivy search index

Overview

conditional_collector

Collectors with built-in support for changing the ordering and cursor-based pagination (or rather: support for conditionally skipping documents that match the query).

use tique::conditional_collector::{Ascending, TopCollector};

let min_rank_collector =
    TopCollector::<f64, Ascending, _>::new(10, true).top_fast_field(f64_field);

Check the module docs for more details.

Unstable

This crate also contains unpolished functionality that is made availble through the unstable feature flag: