aboutsummaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/searchsummary/docsummary/juniper_dfw_explicit_item_data.h
blob: aaa342e7d7024c7b8166d21f7ebe58f2dbb22463 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/stllike/string.h>

namespace search::docsummary {

/*
 * Explicit values used when JuniperDFWQueryItem doesn't have a query
 * stack dump iterator.
 */
struct JuniperDFWExplicitItemData
{
    vespalib::stringref _index;
    int32_t _weight;

    JuniperDFWExplicitItemData()
        : _index(), _weight(0)
    {}
};

}