caio.co/de/cantine

Release tique-0.3.0

Id
261708786c33d2c7db0c02b3e3850377117b0ee7
Author
Caio
Commit time
2020-02-19T16:32:42+01:00

Modified tique/Cargo.toml

@@ -1,6 +1,6
[package]
name = "tique"
-version = "0.2.0"
+version = "0.3.0"

license = "MIT"
description = "Utilities to drive a tantivy search index"

Modified tique/README.markdown

@@ -1,6 +1,7
# tique
[![crates.io](https://img.shields.io/crates/v/tique.svg)](https://crates.io/crates/tique)
[![docs.rs](https://docs.rs/tique/badge.svg)](https://docs.rs/tique)
+[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Utilities to drive a tantivy search index

@@ -30,11 +31,18
```rust
let topterms = TopTerms::new(&index, vec![body, title])?;
let keywords = topterms.extract(5, "the quick fox jumps over the lazy dog");
+
+let similarity_query = keywords.into_boosted_query(1.0);
```
+
+## Dependency Policy
+
+This library's default dependency will always be just `tantivy`, anything
+that requires more will be added as optional feature.

## Unstable

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

* `query_parser`: A very simple query parser that only knows about term

Modified tique/README.tpl

Binary data

Created tique/CHANGELOG.markdown

@@ -1,0 +1,12
+# v0.3.0 - 2020-02-19
+
+* Depend on tantivy 0.12+
+
+## topterms::Keywords
+
+* Generate weighted keyword queries with `into_boosted_query()`
+* Iterate over the Keywords' Terms, ordered by relevance, via `terms()`
+
+# v0.2.0 - 2020-02-16
+
+* Added new `topterms` module