org.mtzky.lucene.descriptor
注釈型 BeanLuceneField
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface BeanLuceneField
Defines a field of Lucene
Document.
- 作成者:
- mtzky
- 関連項目:
LucenePropertyConfig
id
public abstract boolean id
- 戻り値:
true if the specified field is ID.- 関連項目:
LucenePropertyConfig.isId()
- デフォルト:
- false
name
public abstract String name
- 戻り値:
- The name of the specified field
- 関連項目:
LucenePropertyConfig.getName()
- デフォルト:
- ""
store
public abstract Field.Store store
- 戻り値:
- The
Field.Store of the specified field. - 関連項目:
LucenePropertyConfig.getStore()
- デフォルト:
- org.apache.lucene.document.Field.Store.YES
index
public abstract Field.Index index
- 戻り値:
- The
Field.Index of the specified field. - 関連項目:
LucenePropertyConfig.getIndex()
- デフォルト:
- org.apache.lucene.document.Field.Index.ANALYZED
termVector
public abstract Field.TermVector termVector
- 戻り値:
- The
Field.TermVector of the specified field. - 関連項目:
LucenePropertyConfig.getTermVector()
- デフォルト:
- org.apache.lucene.document.Field.TermVector.NO
maxTokenCount
public abstract int maxTokenCount
- 戻り値:
- The maximum field token length, or 0 if unlimited (default)
- 関連項目:
LucenePropertyConfig.getMaxTokenCount()
- デフォルト:
- 0
format
public abstract String format
- 戻り値:
- field value format
- 関連項目:
LucenePropertyConfig.getFormat()
- デフォルト:
- ""
luceneFieldStrategy
public abstract Class<? extends LuceneFieldStrategy> luceneFieldStrategy
- 戻り値:
LuceneFieldStrategy to use for the specified field- 関連項目:
LucenePropertyConfig.getLuceneFieldStrategy()
- デフォルト:
- org.mtzky.lucene.type.LuceneFieldStrategy.class
analyzer
public abstract Class<? extends Analyzer> analyzer
- 戻り値:
Analyzer to use for the specified field- 関連項目:
LucenePropertyConfig.getAnalyzer()
- デフォルト:
- org.apache.lucene.analysis.KeywordAnalyzer.class
normalizers
public abstract Class<? extends Reader>[] normalizers
- 戻り値:
Readers to use for the specified field- 関連項目:
LucenePropertyConfig.getNormalizers()
- デフォルト:
- {}
filters
public abstract Class<? extends TokenFilter>[] filters
- 戻り値:
TokenFilters to use for the specified field- 関連項目:
LucenePropertyConfig.getFilters()
- デフォルト:
- {}
Copyright (C) 2010-2011 Mtzky. AllRights Reserved.