Package | Description |
---|---|
org.apache.lucene.document |
The Document abstraction.
|
Modifier and Type | Method and Description |
---|---|
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
Field s with the given name. |
static Field |
Field.Keyword(String name,
Date value)
Deprecated.
|
static Field |
Field.Keyword(String name,
String value)
Deprecated.
|
static Field |
Field.Text(String name,
Reader value)
Deprecated.
use
Field(name, value) instead |
static Field |
Field.Text(String name,
Reader value,
boolean storeTermVector)
Deprecated.
use
Field(name, value, storeTermVector) instead |
static Field |
Field.Text(String name,
String value)
Deprecated.
|
static Field |
Field.Text(String name,
String value,
boolean storeTermVector)
Deprecated.
|
static Field |
Field.UnIndexed(String name,
String value)
Deprecated.
|
static Field |
Field.UnStored(String name,
String value)
Deprecated.
|
static Field |
Field.UnStored(String name,
String value,
boolean storeTermVector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Document.add(Field field)
Adds a field to a document.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.