public class PreBuiltPostingsFormatProvider extends Object implements PostingsFormatProvider
Modifier and Type | Class and Description |
---|---|
static class |
PreBuiltPostingsFormatProvider.Factory |
PostingsFormatProvider.Helper
POSTINGS_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()
PostingsFormatProvider
PostingsFormat
name
in interface PostingsFormatProvider
public org.apache.lucene.codecs.PostingsFormat get()
PostingsFormatProvider
PostingsFormat
instance.get
in interface PostingsFormatProvider
Copyright © 2009–2015. All rights reserved.