|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.mtzky.lucene.descriptor.SimplePropertyConfig
public class SimplePropertyConfig
All setter methods return SimplePropertyConfig to allow chaining
settings conveniently, for example:
final SimplePropertyConfig conf = new SimplePropertyConfig("id");
conf.id(true).store(Field.Store.NO)...;
| コンストラクタの概要 | |
|---|---|
SimplePropertyConfig(String name)
|
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public SimplePropertyConfig(String name)
| メソッドの詳細 |
|---|
public <T extends SimplePropertyConfig> T id()
public <T extends SimplePropertyConfig> T id(boolean id)
public <T extends SimplePropertyConfig> T store(Field.Store store)
public <T extends SimplePropertyConfig> T index(Field.Index index)
public <T extends SimplePropertyConfig> T termVector(Field.TermVector termVector)
public <T extends SimplePropertyConfig> T maxTokenCount(int maxTokenCount)
public <T extends SimplePropertyConfig> T format(String format)
public <T extends SimplePropertyConfig> T luceneFieldStrategy(Class<? extends LuceneFieldStrategy> strategy)
public <T extends SimplePropertyConfig> T analyzer(Class<? extends Analyzer> analyzer)
public <T extends SimplePropertyConfig> T normalizers(Class<? extends Reader>... normalizers)
public <T extends SimplePropertyConfig> T filters(Class<? extends TokenFilter>... filters)
public boolean isId()
LucenePropertyConfig 内の isIdtrue if the specified field is ID.public String getName()
LucenePropertyConfig 内の getNamepublic Field.Store getStore()
LucenePropertyConfig 内の getStoreField.Store of the specified field.public Field.Index getIndex()
LucenePropertyConfig 内の getIndexField.Index of the specified field.public Field.TermVector getTermVector()
LucenePropertyConfig 内の getTermVectorField.TermVector of the specified field.public int getMaxTokenCount()
LucenePropertyConfig 内の getMaxTokenCountpublic String getFormat()
LucenePropertyConfig の記述:
The specified field is treated as String forcibly if NOT empty.
LucenePropertyConfig 内の getFormatLuceneDateStrategypublic boolean hasLuceneFieldStrategy()
true if has LuceneFieldStrategypublic LuceneFieldStrategy getLuceneFieldStrategy()
LucenePropertyConfig の記述:
LuceneFieldStrategy to use for the specified field. The class
must be annotated with LuceneFieldStrategyType, and the
constructor signature must be the following:
(Lorg/mtzky/lucene/descriptor/LucenePropertyConfig;)V
LucenePropertyConfig 内の getLuceneFieldStrategyLuceneFieldStrategy of the specified field.LuceneFieldStrategyTypepublic Analyzer getAnalyzer()
LucenePropertyConfig の記述:
Analyzer to use for the specified field. The constructor
signature of this analyzer must be the following:
(Lororg/apache/lucene/util/Version;)V()V
LucenePropertyConfig 内の getAnalyzerAnalyzer class of the specified field.AnalyzerWrapperpublic Constructor<? extends Reader>[] getNormalizers()
LucenePropertyConfig の記述:
Readers to use for the specified field. The constructor signature
of these readers must be the following:
(Ljava/io/Reader;)V
LucenePropertyConfig 内の getNormalizersReaders to use for the specified fieldAnalyzerWrapperpublic Constructor<? extends TokenFilter>[] getFilters()
LucenePropertyConfig の記述:
TokenFilters to use for the specified field. The constructor
signature of these filters must be the following:
(Lorg/apache/lucene/analysis/TokenStream;)V
LucenePropertyConfig 内の getFiltersTokenFilters to use for the specified fieldAnalyzerWrapper
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||