mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-06 21:05:50 +08:00
This commit is contained in:
parent
19fd8c19fd
commit
cfde027ba9
@ -570,7 +570,7 @@ public class LuceneQueryTest {
|
||||
public void Empty_Index_Should_Return_Empty_List() throws Exception {
|
||||
idx = new RAMDirectory();
|
||||
writer = new IndexWriter(idx, new StandardAnalyzer(
|
||||
Version.LUCENE_CURRENT), true, MaxFieldLength.UNLIMITED);
|
||||
Version.LUCENE_30), true, MaxFieldLength.UNLIMITED);
|
||||
writer.optimize();
|
||||
writer.close();
|
||||
searcher = new IndexSearcher(idx);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user