Commit 84cc5ce 1 parent af24a54 commit 84cc5ce Copy full SHA for 84cc5ce
File tree 1 file changed +4
-1
lines changed
src/test/java/org/opensearch/neuralsearch/search/query
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 15
15
import static org .mockito .Mockito .spy ;
16
16
import static org .mockito .Mockito .verify ;
17
17
import static org .mockito .Mockito .when ;
18
+ import static org .opensearch .cluster .metadata .IndexMetadata .TRANSLOG_METADATA_KEY ;
18
19
import static org .opensearch .index .mapper .SeqNoFieldMapper .PRIMARY_TERM_NAME ;
19
20
import static org .opensearch .index .remote .RemoteStoreEnums .PathType .HASHED_PREFIX ;
20
21
import static org .opensearch .neuralsearch .search .util .HybridSearchResultFormatUtil .isHybridQueryStartStopElement ;
@@ -1025,7 +1026,9 @@ private static IndexMetadata getIndexMetadata() {
1025
1026
RemoteStoreEnums .PathType .NAME ,
1026
1027
HASHED_PREFIX .name (),
1027
1028
RemoteStoreEnums .PathHashAlgorithm .NAME ,
1028
- RemoteStoreEnums .PathHashAlgorithm .FNV_1A_BASE64 .name ()
1029
+ RemoteStoreEnums .PathHashAlgorithm .FNV_1A_BASE64 .name (),
1030
+ TRANSLOG_METADATA_KEY ,
1031
+ "true"
1029
1032
);
1030
1033
Settings idxSettings = Settings .builder ()
1031
1034
.put (IndexMetadata .SETTING_VERSION_CREATED , Version .CURRENT )
You can’t perform that action at this time.
0 commit comments