net.conquiris.lucene.document
Class BaseDocumentBuilder.DocTextFieldBuilder
java.lang.Object
net.derquinse.common.reflect.This<B>
net.conquiris.lucene.document.FieldBuilder<B>
net.conquiris.lucene.document.IndexableFieldBuilder<B>
net.conquiris.lucene.document.BaseTextFieldBuilder<BaseDocumentBuilder.DocTextFieldBuilder>
net.conquiris.lucene.document.BaseDocumentBuilder.DocTextFieldBuilder
- All Implemented Interfaces:
- TextFieldAdder<B>, IsIndexedFlag, IsStoredFlag
- Enclosing class:
- BaseDocumentBuilder<B extends BaseDocumentBuilder<B>>
public final class BaseDocumentBuilder.DocTextFieldBuilder
- extends BaseTextFieldBuilder<BaseDocumentBuilder.DocTextFieldBuilder>
- implements TextFieldAdder<B>
Text 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(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:
TextFieldAdder
- Adds the field to the document field with the current information and the provided value.
- Specified by:
add in interface TextFieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
value - Field value.
- Returns:
- The document builder.
add
public B add(Reader reader)
- Description copied from interface:
TextFieldAdder
- Adds the field to the document indexed, tokenized but not stored field with the current term
vector information..
- Specified by:
add in interface TextFieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
reader - Field value reader.
- Returns:
- The document builder.
add
public B add(TokenStream tokenStream)
- Description copied from interface:
TextFieldAdder
- Adds the field to the document indexed, tokenized but not stored field with the current term
vector information..
- Specified by:
add in interface TextFieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
tokenStream - Field value token stream.
- Returns:
- The document builder.
Copyright © 2013 Derquinse Projects. All Rights Reserved.