Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #202 from eclipse/issues/GH-1229-lucenesail-compli…
Browse files Browse the repository at this point in the history
…ance

eclipse-rdf4j/rdf4j#1229 compliance tests for Lucene itself
  • Loading branch information
Jeen Broekstra authored Mar 23, 2019
2 parents c27425a + cd5d2f5 commit 8596725
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*******************************************************************************
* Copyright (c) 2019 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.sail.lucene;

/**
* @author jeen
*
*/
public class LuceneSailIndexedPropertiesTest extends AbstractLuceneSailIndexedPropertiesTest {

/*
* (non-Javadoc)
*
* @see
* org.eclipse.rdf4j.sail.lucene.AbstractLuceneSailIndexedPropertiesTest#configure(org.eclipse.rdf4j.sail.lucene.
* LuceneSail)
*/
@Override
protected void configure(LuceneSail sail) {
sail.setParameter(LuceneSail.INDEX_CLASS_KEY, LuceneIndex.class.getName());
sail.setParameter(LuceneSail.LUCENE_RAMDIR_KEY, "true");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*******************************************************************************
* Copyright (c) 2019 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.sail.lucene;

import java.io.IOException;

/**
* @author jeen
*
*/
public class LuceneSailTest extends AbstractLuceneSailTest {

/*
* (non-Javadoc)
*
* @see org.eclipse.rdf4j.sail.lucene.AbstractLuceneSailTest#configure(org.eclipse.rdf4j.sail.lucene.LuceneSail)
*/
@Override
protected void configure(LuceneSail sail) throws IOException {
sail.setParameter(LuceneSail.INDEX_CLASS_KEY, LuceneIndex.class.getName());
sail.setParameter(LuceneSail.LUCENE_RAMDIR_KEY, "true");
}

}

0 comments on commit 8596725

Please sign in to comment.