Skip to content

Commit

Permalink
fix reindex task to specify op_type
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Mar 12, 2023
1 parent 98c08b5 commit e1b1005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/logging/LogstashAppender.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ component
existingIndices,
function( index ){
try{
getClient().reindex( index, dataStreamName, true );
getClient().reindex( index, { "index" : dataStreamName, "op_type" : "create" }, true );
getClient().deleteIndex( index );
} catch( any e ){
// Print to StdError to bypass LogBox, since we are in an appender
Expand Down

0 comments on commit e1b1005

Please sign in to comment.