Example usage for org.apache.lucene.search.suggest.fst WFSTCompletionLookup WFSTCompletionLookup

List of usage examples for org.apache.lucene.search.suggest.fst WFSTCompletionLookup WFSTCompletionLookup

Introduction

In this page you can find the example usage for org.apache.lucene.search.suggest.fst WFSTCompletionLookup WFSTCompletionLookup.

Prototype

public WFSTCompletionLookup(Directory tempDir, String tempFileNamePrefix) 

Source Link

Document

Calls #WFSTCompletionLookup(Directory,String,boolean) WFSTCompletionLookup(null,null,true)

Usage

From source file:org.opengrok.suggest.SuggesterProjectData.java

License:Open Source License

private WFSTCompletionLookup createWFST() {
    return new WFSTCompletionLookup(tempDir, WFST_TEMP_FILE_PREFIX);
}