blob: 649496b62d974d912c39a44c4111ce5965db97d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "near_query_node.h"
namespace search::streaming {
/**
N-ary Ordered near operator. The terms must be in order and the distance between
the first and last must not exceed the given distance.
*/
class ONearQueryNode : public NearQueryNode
{
public:
ONearQueryNode() noexcept : NearQueryNode("ONEAR") { }
bool evaluate() const override;
};
}
|