Skip to content
Permalink
Browse files
Reducing unnecessary changes
  • Loading branch information
klcodanr committed Mar 21, 2022
1 parent e02467c commit 8be46a436eb4ab61623b113e210784e63b296a5a
Showing 1 changed file with 8 additions and 13 deletions.
@@ -16,14 +16,6 @@
*/
package org.apache.jackrabbit.oak.plugins.index.elastic;

import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.INDEX_DEFINITIONS_NAME;
import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.INDEX_DEFINITIONS_NODE_TYPE;
import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.REINDEX_PROPERTY_NAME;
import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.TYPE_PROPERTY_NAME;

import java.util.Set;
import java.util.concurrent.TimeUnit;

import org.apache.jackrabbit.JcrConstants;
import org.apache.jackrabbit.oak.InitialContentHelper;
import org.apache.jackrabbit.oak.api.ContentRepository;
@@ -36,6 +28,14 @@
import org.apache.jackrabbit.oak.plugins.memory.PropertyStates;
import org.junit.ClassRule;

import java.util.Set;
import java.util.concurrent.TimeUnit;

import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.INDEX_DEFINITIONS_NAME;
import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.INDEX_DEFINITIONS_NODE_TYPE;
import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.REINDEX_PROPERTY_NAME;
import static org.apache.jackrabbit.oak.plugins.index.IndexConstants.TYPE_PROPERTY_NAME;

public class ElasticFunctionIndexCommonTest extends FunctionIndexCommonTest {
@ClassRule
public static final ElasticConnectionRule elasticRule = new ElasticConnectionRule(
@@ -68,11 +68,6 @@ protected ContentRepository createRepository() {
return repositoryOptionsUtil.getOak().createContentRepository();
}

@Override
protected void createTestIndexNode() {
// setTraversalEnabled(false);
}

protected Tree createIndex(String name, Set<String> propNames) {
Tree index = root.getTree("/");
return createIndex(index, name, propNames);

0 comments on commit 8be46a4

Please sign in to comment.