tantivy
tantivy copied to clipboard
Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust
- add ip field - add ip codec
This PR adds a possibility to change highlight prefix and postfix for snippets.
Resolves #1431
Here is a test that is failing on the second assertion ```rust #[test] fn test_parse_test_not() { test_parse_query_to_ast_helper("tata -toto", "(*\"tata\" -\"toto\")"); test_parse_query_to_ast_helper("tata NOT toto", "(*\"tata\" -\"toto\")"); } ``` with output ```bash...
I found an example of how generate snippets from TEXT field. Then I have tried to do the same with JSON field but I didn't get anything. Can I do...
A few points to address: * the actual scoring function: * I've gone for ~~sloppy maths~~ a heuristic: https://github.com/quickwit-oss/tantivy/pull/1414/files#diff-6778ebdb19b3c516dabd923da7eff56076630ce5e4cd7804f28dc43265751661R139-R149 the score is scaled by $1 - {\text{used slop} \over (\text{slop}+1)*\text{phrase...
allow negative slope for linear interpolation extend valid range range of blockwise linear interpol codec by using u64 instead of i64 for calculation. add gcd test for DateTime export `gcd()`...
- The fieldnorms function is implemented differently in the following places. https://github.com/quickwit-oss/tantivy/blob/main/src/schema/bytes_options.rs#L48 https://github.com/quickwit-oss/tantivy/blob/main/src/schema/numeric_options.rs#L74 https://github.com/quickwit-oss/tantivy/blob/main/src/schema/text_options.rs#L120 The implementation for BytesOptions and TextOptions should have `&& self.indexed` just like NumericOptions - Setter functions...
Right now the collector API makes it difficult to work in a distributed environment. We want to merge the segment fruits together on the different node, ship the merged result...
Given a field `my_field` with a fastfield and a document with no value for `my_field`, tantivy will insert a default value in the fastfield column store. For an integer/float, the...