mirror of
https://github.com/apache/lucene.git
synced 2025-03-03 23:09:36 +00:00
[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
|
||||
public void baseUIMAAnalyzerIntegrationTest() throws Exception {
|
||||
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
|
||||
Document doc = new Document();
|
||||
String dummyTitle = "this is a dummy title ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user