net.conquiris.lucene.document
Class BaseDocumentBuilder.DocTextFieldBuilder

java.lang.Object
  extended by net.derquinse.common.reflect.This<B>
      extended by net.conquiris.lucene.document.FieldBuilder<B>
          extended by net.conquiris.lucene.document.IndexableFieldBuilder<B>
              extended by net.conquiris.lucene.document.BaseTextFieldBuilder<BaseDocumentBuilder.DocTextFieldBuilder>
                  extended by 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.


Field Summary
 
Fields inherited from interface net.conquiris.schema.IsStoredFlag
STORED
 
Fields inherited from interface net.conquiris.schema.IsIndexedFlag
INDEXED
 
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.conquiris.lucene.document.BaseTextFieldBuilder
build, build, build, index, norms, tokenize, vector
 
Methods inherited from class net.conquiris.lucene.document.IndexableFieldBuilder
index, isIndexed, isStored, store, store, store
 
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
 

Method Detail

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 © 2012 Derquinse Projects.. All Rights Reserved.