net.conquiris.lucene.document
Class BaseDocumentBuilder.DocFieldBuilder
java.lang.Object
net.derquinse.common.reflect.This<B>
net.conquiris.lucene.document.FieldableBuilder<B>
net.conquiris.lucene.document.BaseFieldBuilder<BaseDocumentBuilder.DocFieldBuilder>
net.conquiris.lucene.document.BaseDocumentBuilder.DocFieldBuilder
- All Implemented Interfaces:
- FieldAdder<B>
- Enclosing class:
- BaseDocumentBuilder<B extends BaseDocumentBuilder<B>>
public final class BaseDocumentBuilder.DocFieldBuilder
- extends BaseFieldBuilder<BaseDocumentBuilder.DocFieldBuilder>
- implements FieldAdder<B>
Numeric field builder that adds to the current document builder.
|
Method Summary |
B |
add(Reader reader)
Adds the field to the document indexed, tokenized but not stored field with the current term
vector information.. |
B |
add(String value)
Adds the field to the document field with the current information and the provided value. |
B |
add(org.apache.lucene.analysis.TokenStream tokenStream)
Adds the field to the document indexed, tokenized but not stored field with the current term
vector information.. |
| Methods inherited from class net.derquinse.common.reflect.This |
thisValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
add
public B add(String value)
- Description copied from interface:
FieldAdder
- Adds the field to the document field with the current information and the provided value.
- Specified by:
add in interface FieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
value - Field value.
- Returns:
- The document builder.
add
public B add(Reader reader)
- Description copied from interface:
FieldAdder
- Adds the field to the document indexed, tokenized but not stored field with the current term
vector information..
- Specified by:
add in interface FieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
reader - Field value reader.
- Returns:
- The document builder.
add
public B add(org.apache.lucene.analysis.TokenStream tokenStream)
- Description copied from interface:
FieldAdder
- Adds the field to the document indexed, tokenized but not stored field with the current term
vector information..
- Specified by:
add in interface FieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
tokenStream - Field value token stream.
- Returns:
- The document builder.
Copyright © 2012 Derquinse Projects.. All Rights Reserved.