Skip to content

Commit e620d57

Browse files
committed
Adapt Searchable Snapshots to latest master changes
1 parent 799eaa7 commit e620d57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshots.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ public Collection<Object> createComponents(
9090
final NamedXContentRegistry xContentRegistry,
9191
final Environment environment,
9292
final NodeEnvironment nodeEnvironment,
93-
final NamedWriteableRegistry namedWriteableRegistry) {
93+
final NamedWriteableRegistry registry,
94+
final IndexNameExpressionResolver resolver) {
9495

9596
final CacheService cacheService = new CacheService(settings);
9697
this.cacheService.set(cacheService);

x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public void testDirectoryReader() throws Exception {
173173

174174
assertThat(snapshotFieldInfo.getDocValuesType(), equalTo(fieldInfo.getDocValuesType()));
175175
assertThat(snapshotFieldInfo.getDocValuesGen(), equalTo(fieldInfo.getDocValuesGen()));
176-
assertThat(snapshotFieldInfo.getPointDataDimensionCount(), equalTo(fieldInfo.getPointDataDimensionCount()));
176+
assertThat(snapshotFieldInfo.getPointDimensionCount(), equalTo(fieldInfo.getPointDimensionCount()));
177177
assertThat(snapshotFieldInfo.getPointIndexDimensionCount(), equalTo(fieldInfo.getPointIndexDimensionCount()));
178178
assertThat(snapshotFieldInfo.getPointNumBytes(), equalTo(fieldInfo.getPointNumBytes()));
179179

0 commit comments

Comments
 (0)