org.mtzky.lucene.descriptor
インタフェース LucenePropertyConfig

既知のサブインタフェースの一覧:
LucenePropertyDesc<E>
既知の実装クラスの一覧:
AbstractPropertyDesc, BeanPropertyConfig, BeanPropertyDesc, MapPropertyDesc, SimplePropertyConfig

public interface LucenePropertyConfig

Holds all the configuration of LucenePropertyDesc. You should instantiate an implemented class, call the setters to set your configuration, then pass it to LucenePropertyDesc.

作成者:
mtzky

メソッドの概要
 Analyzer getAnalyzer()
           Analyzer to use for the specified field.
 Constructor<? extends TokenFilter>[] getFilters()
           TokenFilters to use for the specified field.
 String getFormat()
           The specified field is treated as String forcibly if NOT empty.
 Field.Index getIndex()
           
 LuceneFieldStrategy getLuceneFieldStrategy()
           LuceneFieldStrategy to use for the specified field.
 int getMaxTokenCount()
           
 String getName()
           
 Constructor<? extends Reader>[] getNormalizers()
           Readers to use for the specified field.
 Field.Store getStore()
           
 Field.TermVector getTermVector()
           
 boolean isId()
           
 

メソッドの詳細

isId

boolean isId()
戻り値:
true if the specified field is ID.

getName

String getName()
戻り値:
The name of the specified field.

getStore

Field.Store getStore()
戻り値:
The Field.Store of the specified field.

getIndex

Field.Index getIndex()
戻り値:
The Field.Index of the specified field.

getTermVector

Field.TermVector getTermVector()
戻り値:
The Field.TermVector of the specified field.

getMaxTokenCount

int getMaxTokenCount()
戻り値:
The maximum field token length, or 0 if unlimited

getFormat

String getFormat()

The specified field is treated as String forcibly if NOT empty.

戻り値:
field value format
関連項目:
LuceneDateStrategy

getLuceneFieldStrategy

LuceneFieldStrategy getLuceneFieldStrategy()

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
 

戻り値:
The LuceneFieldStrategy of the specified field.
関連項目:
LuceneFieldStrategyType

getAnalyzer

Analyzer getAnalyzer()

Analyzer to use for the specified field. The constructor signature of this analyzer must be the following:

 (Lorg/apache/lucene/util/Version;)V
 or
 ()V
 

戻り値:
The Analyzer class of the specified field.
関連項目:
AnalyzerWrapper

getNormalizers

Constructor<? extends Reader>[] getNormalizers()

Readers to use for the specified field. The constructor signature of these readers must be the following:

 (Ljava/io/Reader;)V
 

戻り値:
Readers to use for the specified field
関連項目:
AnalyzerWrapper

getFilters

Constructor<? extends TokenFilter>[] getFilters()

TokenFilters to use for the specified field. The constructor signature of these filters must be the following:

 (Lorg/apache/lucene/analysis/TokenStream;)V
 

戻り値:
TokenFilters to use for the specified field
関連項目:
AnalyzerWrapper


Copyright (C) 2010-2011 Mtzky. AllRights Reserved.