[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:
Tommaso Teofili 2012-07-15 21:54:13 +00:00
parent c16f3f75bc
commit 2e8aac9300
1 changed files with 1 additions and 1 deletions

View File

@ -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 ";