| 1 | /* |
| 2 | Copyright (C) 2013-2018 Brazil |
| 3 | Copyright (C) 2018-2024 Sutou Kouhei <[email protected]> |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | This library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with this library; if not, write to the Free Software |
| 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | /* Don't use this header directly as much as possible! */ |
| 21 | |
| 22 | #pragma once |
| 23 | |
| 24 | #include "grn_db.h"cxx . . $ `<file>/lib/grn_db.h`/ |
| 25 | |
| 26 | #ifdef __cplusplus |
| 27 | extern "C" { |
| 28 | #endif |
| 29 | |
| 30 | #define GRN_SCAN_INFO_INITIAL_MAX_N_ARGScxx . . $ `lib/grn_scan_info.h:30:9`! 16 |
| 31 | |
| 32 | struct _grn_scan_infocxx . . $ _grn_scan_info# { |
| 33 | uint32_tcxx . . $ uint32_t# startcxx . . $ _grn_scan_info#start.; |
| 34 | uint32_tcxx . . $ uint32_t# endcxx . . $ _grn_scan_info#end.; |
| 35 | int32_tcxx . . $ int32_t# nargscxx . . $ _grn_scan_info#nargs.; |
| 36 | int flagscxx . . $ _grn_scan_info#flags.; |
| 37 | grn_operatorcxx . . $ grn_operator# opcxx . . $ _grn_scan_info#op.; |
| 38 | grn_operatorcxx . . $ grn_operator# logical_opcxx . . $ _grn_scan_info#logical_op.; |
| 39 | float weight_factorcxx . . $ _grn_scan_info#weight_factor.; |
| 40 | grn_objcxx . . $ grn_obj# sectionscxx . . $ _grn_scan_info#sections.; |
| 41 | grn_objcxx . . $ grn_obj# weightscxx . . $ _grn_scan_info#weights.; |
| 42 | grn_objcxx . . $ grn_obj# indexcxx . . $ _grn_scan_info#index.; |
| 43 | grn_objcxx . . $ grn_obj# *querycxx . . $ _grn_scan_info#query.; |
| 44 | grn_objcxx . . $ grn_obj# **argscxx . . $ _grn_scan_info#args.; |
| 45 | grn_objcxx . . $ grn_obj# *initial_argscxx . . $ _grn_scan_info#initial_args.[GRN_SCAN_INFO_INITIAL_MAX_N_ARGScxx . . $ `lib/grn_scan_info.h:30:9`!]; |
| 46 | int max_intervalcxx . . $ _grn_scan_info#max_interval.; |
| 47 | int additional_last_intervalcxx . . $ _grn_scan_info#additional_last_interval.; |
| 48 | grn_objcxx . . $ grn_obj# max_element_intervalscxx . . $ _grn_scan_info#max_element_intervals.; |
| 49 | int min_intervalcxx . . $ _grn_scan_info#min_interval.; |
| 50 | int similarity_thresholdcxx . . $ _grn_scan_info#similarity_threshold.; |
| 51 | int quorum_thresholdcxx . . $ _grn_scan_info#quorum_threshold.; |
| 52 | grn_objcxx . . $ grn_obj# scorerscxx . . $ _grn_scan_info#scorers.; |
| 53 | grn_objcxx . . $ grn_obj# scorer_args_exprscxx . . $ _grn_scan_info#scorer_args_exprs.; |
| 54 | grn_objcxx . . $ grn_obj# scorer_args_expr_offsetscxx . . $ _grn_scan_info#scorer_args_expr_offsets.; |
| 55 | grn_objcxx . . $ grn_obj# start_positionscxx . . $ _grn_scan_info#start_positions.; |
| 56 | int32_tcxx . . $ int32_t# max_nargscxx . . $ _grn_scan_info#max_nargs.; |
| 57 | }; |
| 58 | |
| 59 | #ifdef __cplusplus |
| 60 | } |
| 61 | #endif |