Uses of Class org.apache.lucene.document.Field

Uses in package org.apache.lucene.document

Methods with parameter type org.apache.lucene.document.Field

void
Adds a field to a document.

Methods with return type org.apache.lucene.document.Field

Field
Field.Keyword(String name, Date value)
Constructs a Date-valued Field that is not tokenized and is indexed, and stored in the index, for return with hits.
Field
Field.Keyword(String name, String value)
Constructs a String-valued Field that is not tokenized, but is indexed and stored.
Field
Field.Text(String name, Reader value)
Constructs a Reader-valued Field that is tokenized and indexed, but is not stored in the index verbatim.
Field
Field.Text(String name, Reader value, boolean storeTermVector)
Constructs a Reader-valued Field that is tokenized and indexed, but is not stored in the index verbatim.
Field
Field.Text(String name, String value)
Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits.
Field
Field.Text(String name, String value, boolean storeTermVector)
Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits.
Field
Field.UnIndexed(String name, String value)
Constructs a String-valued Field that is not tokenized nor indexed, but is stored in the index, for return with hits.
Field
Field.UnStored(String name, String value)
Constructs a String-valued Field that is tokenized and indexed, but that is not stored in the index.
Field
Field.UnStored(String name, String value, boolean storeTermVector)
Constructs a String-valued Field that is tokenized and indexed, but that is not stored in the index.
Field
Document.getField(String name)
Returns a field with the given name if any exist in this document, or null.
Field[]
Document.getFields(String name)
Returns an array of Fields with the given name.

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.