public class PreBuiltPostingsFormatProvider extends Object implements PostingsFormatProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
PreBuiltPostingsFormatProvider.Factory |
PostingsFormatProvider.HelperPOSTINGS_FORMAT_SETTINGS_PREFIX| Constructor and Description |
|---|
PreBuiltPostingsFormatProvider(org.apache.lucene.codecs.PostingsFormat postingsFormat) |
PreBuiltPostingsFormatProvider(String name,
org.apache.lucene.codecs.PostingsFormat postingsFormat) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.codecs.PostingsFormat |
get()
Returns this providers
PostingsFormat instance. |
String |
name()
Returns the name of this providers
PostingsFormat |
public PreBuiltPostingsFormatProvider(org.apache.lucene.codecs.PostingsFormat postingsFormat)
public PreBuiltPostingsFormatProvider(String name, org.apache.lucene.codecs.PostingsFormat postingsFormat)
public String name()
PostingsFormatProviderPostingsFormatname in interface PostingsFormatProviderpublic org.apache.lucene.codecs.PostingsFormat get()
PostingsFormatProviderPostingsFormat instance.get in interface PostingsFormatProviderCopyright © 2009–2016. All rights reserved.