Log
-
Merge branch 'tique_release' by Caio 5 years ago
-
Update Cargo.lock by Caio 5 years ago
-
Add more metadata to Cargo.toml by Caio 5 years ago
-
Add `cargo-readme`-generated README 💬 by Caio 5 years ago
`cargo readme --no-license > README.markdown`
-
Remove everything `proc_macro` from what will go public 💬 by Caio 5 years ago
I thought the "proc macros need to live in a separate crate" problem was only a minor annoyance until now: publishing a crate that uses it implies publishing the proc macro crate too. This patch works around said annoyance by (mostly manually) reverting the move to the `tique` module. Now `cantine_derive` is self-contained.
-
Revert "Move `tique_derive` into the `tique` module" 💬 by Caio 5 years ago
This reverts commit 813bccbe0c5974337dceff3e348c76ecf23138d7.
-
Adapt to work with tique's public release by Caio 5 years ago
-
Adapt to work with tique's public release by Caio 5 years ago
-
Merge branch 'tique_docs' by Caio 5 years ago
-
Add top-level documentation by Caio 5 years ago
-
Add docs for the remaining public items by Caio 5 years ago
-
Move `tique_derive` into the `tique` module by Caio 5 years ago
-
Expose CustomScoreTopCollector via `with_custom_scorer` by Caio 5 years ago
-
Use tantivy's CustomScorer trait family instead of DocScorer 💬 by Caio 5 years ago
Less code mo happy
-
More documentation work by Caio 5 years ago
-
Less unwrapping, more questions 💬 by Caio 5 years ago
This patch helps rustdoc infer a `main() -> Result<...>` by adding an explicit `Ok(())` result at the end of the code block.
-
Split compilation features into default and unstable by Caio 5 years ago
-
Start working on `conditional_collector` docs by Caio 5 years ago
-
Rename into{,unsorted}_collection_result 💬 by Caio 5 years ago
Better than hidden in a comment at least :P
-
Move logic to detect pagination to CollectionResult 💬 by Caio 5 years ago
And flatten `items_to_ids` into `render` since it's the only expected call site.
-
Remove DocId restriction from TopKProvider by Caio 5 years ago
-
Move merge_many impl to CollectionResult by Caio 5 years ago
-
Update and switch Cargo.lock to new format by Caio 5 years ago
-
Use `Ord` instead of `PartialOrd` for the doc id 💬 by Caio 5 years ago
Technically not required, but being stricter for the doc prevents the (very unlikely) case of ending up with non-Ord stuff being used as a doc (thinking of NaN) which would break sort stability.
-
"Document" the new `tique::conditional_collector` by Caio 5 years ago
-
Merge branch 'typed_topk' by Caio 5 years ago
-
Drive the search logic via the new `TopCollector` 💬 by Caio 5 years ago
This patch switches to the new `conditional_collector` module, which has built-in support for changing the order. This means that we need a lot less business logic for each possible state (sort, order and pagination state) and it all can be expressed via `TopCollector`. So much nicer now :-) With some polish, `tique::conditional_collector` is a good candidate for public release.
-
Sunset top_collector module 💬 by Caio 5 years ago
The `conditional_collector` module effectively replaces it. It still doesn't contain a `TweakedScoreTopCollector`, but that's simply because I don't need it anymore since I'm not modifying scores to simulate order change.
-
Add `top_fast_field` helper method 💬 by Caio 5 years ago
This patch adds a method to `TopCollector` to convert it to a `CustomScoreTopCollector` sorted by a fast field. We can drive the whole thing via the basic top collector, which leads to something kinda cute: TopCollector::<i64, Ascending, _>::new(10, condition) .top_fast_field(field);
-
Add support for customizing the scores 💬 by Caio 5 years ago
Kind of a `tique::top_collector::custom_score` copy pasta with cleaned up trait requirements and added support for type-based ordering.