Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Nov 7, 2023
1 parent 331dd92 commit e3e5004
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.IndexWriterConfig;
import org.apache.lucene.search.suggest.document.Completion90PostingsFormat;
import org.apache.lucene.search.suggest.document.Completion99PostingsFormat;
import org.apache.lucene.search.suggest.document.SuggestField;
import org.apache.lucene.store.Directory;
import org.elasticsearch.ElasticsearchException;
Expand Down Expand Up @@ -43,7 +44,7 @@ public void testExceptionsAreNotCached() {

public void testCompletionStatsCache() throws IOException, InterruptedException {
final IndexWriterConfig indexWriterConfig = newIndexWriterConfig();
final PostingsFormat postingsFormat = new Completion90PostingsFormat();
final PostingsFormat postingsFormat = new Completion99PostingsFormat();
indexWriterConfig.setCodec(new Lucene99Codec() {
@Override
public PostingsFormat getPostingsFormatForField(String field) {
Expand Down

0 comments on commit e3e5004

Please sign in to comment.