Commit 2c35bfc 1 parent 5871134 commit 2c35bfc Copy full SHA for 2c35bfc
File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/index/mapper
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 35
35
import org .apache .lucene .document .FieldType ;
36
36
import org .apache .lucene .index .IndexOptions ;
37
37
import org .apache .lucene .index .Term ;
38
- import org .apache .lucene .search .suggest .document .Completion912PostingsFormat ;
38
+ import org .apache .lucene .search .suggest .document .Completion101PostingsFormat ;
39
39
import org .apache .lucene .search .suggest .document .CompletionAnalyzer ;
40
40
import org .apache .lucene .search .suggest .document .CompletionQuery ;
41
41
import org .apache .lucene .search .suggest .document .FuzzyCompletionQuery ;
@@ -330,7 +330,7 @@ public ContextMappings getContextMappings() {
330
330
*/
331
331
public static synchronized PostingsFormat postingsFormat () {
332
332
if (postingsFormat == null ) {
333
- postingsFormat = new Completion912PostingsFormat ();
333
+ postingsFormat = new Completion101PostingsFormat ();
334
334
}
335
335
return postingsFormat ;
336
336
}
You can’t perform that action at this time.
0 commit comments