@@ -44,6 +44,7 @@ enum struct search_config_id : uint8_t
4444 max_error_substitution, // !< Identifier for the max_error_substitution configuration.
4545 max_error_insertion, // !< Identifier for the max_error_insertion configuration.
4646 max_error_deletion, // !< Identifier for the max_error_deletion configuration.
47+ on_result, // !< Identifier for the configuration to pass a user defined callable.
4748 output_query_id, // !< Identifier for the output configuration of the query_id.
4849 output_reference_id, // !< Identifier for the output configuration of the reference_id.
4950 output_reference_begin_position, // !< Identifier for the output configuration of the reference_begin_position.
@@ -80,24 +81,26 @@ inline constexpr std::array<std::array<bool, static_cast<uint8_t>(search_config_
8081 // | max_error_substitution,
8182 // | | max_error_insertion,
8283 // | | | max_error_deletion,
83- // | | | | output_query_id,
84- // | | | | | output_reference_id,
85- // | | | | | | output_reference_begin_position,
86- // | | | | | | | output_index_cursor,
87- // | | | | | | | | hit,
88- // | | | | | | | | | parallel,
89- // | | | | | | | | | | result_type
90- { 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_total
91- { 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_substitution
92- { 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_insertion
93- { 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_deletion
94- { 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 }, // output_query_id
95- { 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 }, // output_reference_id
96- { 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 }, // output_reference_begin_position
97- { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 }, // output_index_cursor
98- { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 }, // hit
99- { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 }, // parallel
100- { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 } // result_type
84+ // | | | | on_result,
85+ // | | | | | output_query_id,
86+ // | | | | | | output_reference_id,
87+ // | | | | | | | output_reference_begin_position,
88+ // | | | | | | | | output_index_cursor,
89+ // | | | | | | | | | hit,
90+ // | | | | | | | | | | parallel,
91+ // | | | | | | | | | | | result_type
92+ { 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_total
93+ { 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_substitution
94+ { 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_insertion
95+ { 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // max_error_deletion
96+ { 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 }, // on_result
97+ { 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 }, // output_query_id
98+ { 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 }, // output_reference_id
99+ { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 , 1 }, // output_reference_begin_position
100+ { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 1 }, // output_index_cursor
101+ { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 }, // hit
102+ { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 1 }, // parallel
103+ { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 } // result_type
101104 }
102105};
103106
0 commit comments