mirror of https://github.com/apache/lucene.git
[LUCENE-4207] - updated LuceneVersion to 5.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361819 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c16f3f75bc
commit
2e8aac9300
|
@ -65,7 +65,7 @@ public class UIMABaseAnalyzerTest extends BaseTokenStreamTestCase {
|
||||||
@Test
|
@Test
|
||||||
public void baseUIMAAnalyzerIntegrationTest() throws Exception {
|
public void baseUIMAAnalyzerIntegrationTest() throws Exception {
|
||||||
Directory dir = new RAMDirectory();
|
Directory dir = new RAMDirectory();
|
||||||
IndexWriter writer = new IndexWriter(dir, new IndexWriterConfig(Version.LUCENE_40, analyzer));
|
IndexWriter writer = new IndexWriter(dir, new IndexWriterConfig(Version.LUCENE_50, analyzer));
|
||||||
// add the first doc
|
// add the first doc
|
||||||
Document doc = new Document();
|
Document doc = new Document();
|
||||||
String dummyTitle = "this is a dummy title ";
|
String dummyTitle = "this is a dummy title ";
|
||||||
|
|
Loading…
Reference in New Issue