Skip to content

Commit 826138c

Browse files
committed
Update flag name to exclude term: IR
1 parent b599a08 commit 826138c

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

components/core/src/clp/clo/clo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ bool extract_ir(CommandLineArguments const& command_line_args) {
171171
string const& orig_file_id,
172172
size_t begin_message_ix,
173173
size_t end_message_ix,
174-
bool is_last_ir_chunk) {
174+
bool is_last_chunk) {
175175
auto dest_ir_file_name = orig_file_id;
176176
dest_ir_file_name += "_" + std::to_string(begin_message_ix);
177177
dest_ir_file_name += "_" + std::to_string(end_message_ix);
@@ -207,8 +207,8 @@ bool extract_ir(CommandLineArguments const& command_line_args) {
207207
static_cast<int64_t>(end_message_ix)
208208
),
209209
bsoncxx::builder::basic::kvp(
210-
clp::clo::cResultsCacheKeys::IrOutput::IsLastIrChunk,
211-
is_last_ir_chunk
210+
clp::clo::cResultsCacheKeys::IrOutput::IsLastChunk,
211+
is_last_chunk
212212
)
213213
)));
214214
return true;

components/core/src/clp/clo/constants.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ constexpr char Path[]{"path"};
88
constexpr char StreamId[]{"stream_id"};
99
constexpr char BeginMsgIx[]{"begin_msg_ix"};
1010
constexpr char EndMsgIx[]{"end_msg_ix"};
11-
constexpr char IsLastIrChunk[]{"is_last_ir_chunk"};
11+
constexpr char IsLastChunk[]{"is_last_chunk"};
1212
} // namespace IrOutput
1313

1414
namespace SearchOutput {

components/core/src/clp/clp/FileDecompressor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class FileDecompressor {
3939
*
4040
* @tparam IrOutputHandler Function to handle the resulting IR chunks.
4141
* Signature: (std::filesystem::path const& ir_file_path, string const& orig_file_id,
42-
* size_t begin_message_ix, size_t end_message_ix, bool is_last_ir_chunk) -> bool;
42+
* size_t begin_message_ix, size_t end_message_ix, bool is_last_chunk) -> bool;
4343
* The function returns whether it succeeded.
4444
* @param archive_reader
4545
* @param file_metadata_ix

components/core/src/clp/clp/decompression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ bool decompress_to_ir(CommandLineArguments& command_line_args) {
282282
string const& orig_file_id,
283283
size_t begin_message_ix,
284284
size_t end_message_ix,
285-
[[maybe_unused]] bool is_last_ir_chunk) {
285+
[[maybe_unused]] bool is_last_chunk) {
286286
auto dest_ir_file_name = orig_file_id;
287287
dest_ir_file_name += "_" + std::to_string(begin_message_ix);
288288
dest_ir_file_name += "_" + std::to_string(end_message_ix);

components/core/src/clp_s/JsonConstructor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void JsonConstructor::construct_in_order() {
134134
last_idx
135135
),
136136
bsoncxx::builder::basic::kvp(
137-
constants::results_cache::decompression::cIsLastIrChunk,
137+
constants::results_cache::decompression::cIsLastChunk,
138138
false == open_new_writer
139139
)
140140
)));

components/core/src/clp_s/archive_constants.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ constexpr char cPath[]{"path"};
3232
constexpr char cStreamId[]{"stream_id"};
3333
constexpr char cBeginMsgIx[]{"begin_msg_ix"};
3434
constexpr char cEndMsgIx[]{"end_msg_ix"};
35-
constexpr char cIsLastIrChunk[]{"is_last_ir_chunk"};
35+
constexpr char cIsLastChunk[]{"is_last_chunk"};
3636
} // namespace results_cache::decompression
3737

3838
namespace results_cache::search {

components/log-viewer-webui/client/src/api/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import axios from "axios";
66
* @property {string} stream_id
77
* @property {number} begin_msg_ix
88
* @property {number} end_msg_ix
9-
* @property {boolean} is_last_ir_chunk
9+
* @property {boolean} is_last_chunk
1010
* @property {string} path
1111
* @property {string} _id
1212
*/

0 commit comments

Comments
 (0)