Log
-
Strict derived Query types deserialization by Caio 5 years ago
-
Add a more information about tique::top_collector by Caio 5 years ago
-
Add support for ascending relevance ordering by Caio 5 years ago
-
Add support for modifying the original score 💬 by Caio 5 years ago
This is pretty much a copy pasta from custom_score.rs, the difference is that instead of using `Fn(DocId) -> T` it uses `Fn(DocId,Score) -> T` Essentially the same as tantivy's, with the added support for conditions.
-
Add types back to cursors 💬 by Caio 5 years ago
This patch starts adding the type information to the cursors. This information is"lost" by containing everything as (u64,u64), so we add it back by making cursor types enums. The price I'm paying is an added byte for the type tag (mapping to an enum member) which leads to 2 extra characters in the base64 SearchCursor representation.
-
Reorganize top_collector::fastfield by Caio 5 years ago
-
Update README by Caio 5 years ago
-
Add (partial) support for ascending sort 💬 by Caio 5 years ago
Now this works for everything fast-field. A new collector will be needed for reversing `Sort::Relevance`
-
Wire fast-field sorting via tique's new interface 💬 by Caio 5 years ago
Now it should be easy to add support for reversing the order when sorting by a fast-field. For reversing the relevance (default) ordering I'll need to implement functionality to modify the score (as opposed to just supplying one via a fast field)
-
Add support for (reversible) fast field scoring 💬 by Caio 5 years ago
This patch replaces the original `ordered_by_XXX_fast_field` with a more explicit `fastfield::{ascending,descending}` idiom. Essentially, this is a very verbose way of encoding a runtime boolean check into the type system. -
Only output image url(s) if we have any by Caio 5 years ago
-
Update Cargo.lock by Caio 5 years ago
-
Add a simple README by Caio 5 years ago
-
Minor cleanup by Caio 5 years ago
-
Make public recipe models more detailed 💬 by Caio 5 years ago
Now a basic search result item will contain the main image (if it exists) and a detailed view will expose the instructions.
-
Remove timeout functionality 💬 by Caio 5 years ago
I'll leave client management stuff to the load balancer
-
Remove dead code by Caio 5 years ago
-
Use a boolean property instead of Not{Term,Phrase} by Caio 5 years ago
-
Move `from_*` methods into `From` trait implementations by Caio 5 years ago
-
Adjust to tique's new trait names by Caio 5 years ago
-
Better names for ConditionalTopCollector traits by Caio 5 years ago
-
Reduce some of the `unwrap()`ing by Caio 5 years ago
-
(kinda) Organize the Result types by Caio 5 years ago
-
Define ENCODED_SEARCH_CURSOR_LEN as 32 directly by Caio 5 years ago
-
Add a simple /info endpoint 💬 by Caio 5 years ago
This can serve as a health-check and as an initial "what can I ask this index about" answer. Right now, this is what you get: { "total_recipes": 1183461, "features": { "num_ingredients": [ { "min": 2, "max": 93, "count": 1183461 } ], "instructions_length": [ { "min": 18, "max": 34663, "count": 1183461 } ], "prep_time": [ { "min": 0, "max": 129600, "count": 755741 } ], "total_time": [ { "min": 0, "max": 259200, "count": 592741 } ], "cook_time": [ { "min": 1, "max": 878040, "count": 605199 } ], "calories": [ { "min": 1, "max": 1285624091, "count": 311252 } ], "fat_content": [ { "min": 0, "max": 50693.902, "count": 275000 } ], "carb_content": [ { "min": 0, "max": 7266.2, "count": 276161 } ], "protein_content": [ { "min": 0, "max": 15727.4, "count": 267743 } ], "diet_lowcarb": [ { "min": 0.5, "max": 1, "count": 863199 } ], "diet_vegetarian": [ { "min": 1, "max": 1, "count": 22716 } ], "diet_vegan": [ { "min": 1, "max": 1, "count": 13788 } ], "diet_keto": [ { "min": 0.5, "max": 1, "count": 109035 } ], "diet_paleo": [ { "min": 0.5, "max": 1, "count": 412171 } ] } } -
Initialize `min` as the range's `end` 💬 by Caio 5 years ago
With this, `min` becomes "minimum *seen* value that matches the range", which is what was the original intention (and what `max` already means).
-
Use `carb_content` instead of `carbohydrate_content` by Caio 5 years ago
-
Provide an aggregation query covering every feature by Caio 5 years ago
-
Remove stale lock file by Caio 5 years ago
-
Don't hard-code the main app name in structopt 💬 by Caio 5 years ago
The default is the crate name, which is what I want to use here