blob: c05fda7747687dee68cbab10a478735facad4f68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "hit.h"
#include <ostream>
namespace search::streaming {
std::ostream&
operator<<(std::ostream& os, const Hit& hit)
{
os << "{" << hit.field_id() << "," << hit.element_id() << "," <<
hit.element_weight() << "," << hit.element_length() << "," <<
hit.position() << "}";
return os;
}
}
|