Groonga
Loading...
Searching...
No Matches
result_set.h
Go to the documentation of this file.
1/*
2 Copyright(C) 2020-2022 Sutou Kouhei <kou@clear-code.com>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17*/
18
19#pragma once
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
27 grn_hash *result_set);
30 grn_hash *result_set,
31 grn_posting *posting,
32 grn_operator op);
35 grn_hash *result_set,
36 grn_obj *table,
37 double score,
38 grn_operator op);
41 grn_hash *result_set,
42 grn_table_cursor *cursor,
43 double score,
44 grn_operator op);
47 grn_hash *result_set,
48 grn_obj *cursor,
49 double additional_score,
50 double weight,
51 grn_operator op);
54 grn_hash *result_set,
55 grn_ii_cursor *cursor,
56 double additional_score,
57 double weight,
58 grn_operator op);
59
62 grn_hash *result_set,
63 grn_hash *output_result_set);
64
65#ifdef __cplusplus
66}
67#endif
grn_rc
Definition groonga.h:61
uint32_t grn_id
Definition groonga.h:44
#define GRN_API
Definition groonga.h:39
grn_operator
Definition groonga.h:1149
struct _grn_hash grn_hash
Definition hash.h:28
struct _grn_ii_cursor grn_ii_cursor
Definition ii.h:90
GRN_API grn_rc grn_result_set_copy(grn_ctx *ctx, grn_hash *result_set, grn_hash *output_result_set)
GRN_API grn_id grn_result_set_get_min_id(grn_ctx *ctx, grn_hash *result_set)
GRN_API grn_rc grn_result_set_add_ii_cursor(grn_ctx *ctx, grn_hash *result_set, grn_ii_cursor *cursor, double additional_score, double weight, grn_operator op)
GRN_API grn_rc grn_result_set_add_index_cursor(grn_ctx *ctx, grn_hash *result_set, grn_obj *cursor, double additional_score, double weight, grn_operator op)
GRN_API grn_rc grn_result_set_add_record(grn_ctx *ctx, grn_hash *result_set, grn_posting *posting, grn_operator op)
GRN_API grn_rc grn_result_set_add_table_cursor(grn_ctx *ctx, grn_hash *result_set, grn_table_cursor *cursor, double score, grn_operator op)
GRN_API grn_rc grn_result_set_add_table(grn_ctx *ctx, grn_hash *result_set, grn_obj *table, double score, grn_operator op)
Definition groonga.h:351
Definition groonga.h:919
Definition posting.h:26