v0.7.0 - upd version and docs (#462)

* upd version and docs

* fix clippy
This commit is contained in:
Andrey Vasnetsov
2022-04-11 18:40:35 +02:00
committed by GitHub
parent f7d52244a7
commit d8ed9b2b2b
8 changed files with 3603 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -2465,7 +2465,7 @@ dependencies = [
[[package]]
name = "qdrant"
version = "0.6.0"
version = "0.7.0"
dependencies = [
"actix-web",
"api",

View File

@@ -1,6 +1,6 @@
[package]
name = "qdrant"
version = "0.6.0"
version = "0.7.0"
authors = ["Andrey Vasnetsov <andrey@vasnetsov.com>"]
edition = "2021"
doctest = false

View File

@@ -1 +1 @@
const defaultApiVersion = 'v0.6.0';
const defaultApiVersion = 'v0.7.0';

View File

@@ -39,6 +39,7 @@
</button>
<div class="dropdown-menu dropdown-menu-right">
<a href="?v=master" class="dropdown-item" type="button">master</a>
<a href="?v=v0.7.0" class="dropdown-item" type="button">v0.7.0</a>
<a href="?v=v0.6.0" class="dropdown-item" type="button">v0.6.0</a>
<a href="?v=v0.5.1" class="dropdown-item" type="button">v0.5.1</a>
<a href="?v=v0.5.0" class="dropdown-item" type="button">v0.5.0</a>

File diff suppressed because it is too large Load Diff

View File

@@ -357,6 +357,7 @@ mod tests {
blocks[0]
.condition
.range
.as_ref()
.expect("range condition")
.gte
.expect("gte"),
@@ -366,6 +367,7 @@ mod tests {
blocks[0]
.condition
.range
.as_ref()
.expect("range condition")
.lte
.expect("lte"),

View File

@@ -158,7 +158,7 @@ fn get_match_checkers(index: &FieldIndex, cond_match: Match) -> Option<Condition
impl<'a> FilterContext for StructFilterContext<'a> {
fn check(&self, point_id: PointOffsetType) -> bool {
// At least one primary condition should be satisfied - that is necessary, but not sufficient condition
if !self.checkers.is_empty() && !self.checkers.iter().any(|foo| foo(point_id)) {
if !self.checkers.is_empty() && !self.checkers.iter().any(|check| check(point_id)) {
false
} else {
self.condition_checker.check(point_id, self.filter)

View File

@@ -590,7 +590,7 @@ impl From<IntPayloadType> for Match {
}
/// Range filter request
#[derive(Debug, Deserialize, Serialize, JsonSchema, Copy, Clone, PartialEq)]
#[derive(Debug, Deserialize, Serialize, JsonSchema, Clone, PartialEq)]
#[serde(rename_all = "snake_case")]
pub struct Range {
/// point.key < range.lt