Package | Description |
---|---|
org.apache.lucene.benchmark.byTask.feeds |
Sources for benchmark inputs: documents and queries.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Field and Description |
---|---|
protected Field.Store |
DocMaker.storeVal |
Modifier and Type | Field and Description |
---|---|
static Field.Store |
Field.Store.COMPRESS
Deprecated.
Please use
CompressionTools instead.
For string fields that were previously indexed and stored using compression,
the new way to achieve this is: First add the field indexed-only (no store)
and additionally using the same field name as a binary, stored field
with CompressionTools.compressString(java.lang.String) . |
static Field.Store |
Field.Store.NO
Do not store the field value in the index.
|
static Field.Store |
Field.Store.YES
Store the original field value in the index.
|
Constructor and Description |
---|
AbstractField(java.lang.String name,
Field.Store store,
Field.Index index,
Field.TermVector termVector) |
Field(java.lang.String name,
boolean internName,
java.lang.String value,
Field.Store store,
Field.Index index,
Field.TermVector termVector)
Create a field by specifying its name, value and how it will
be saved in the index.
|
Field(java.lang.String name,
byte[] value,
Field.Store store)
Create a stored field with binary value.
|
Field(java.lang.String name,
byte[] value,
int offset,
int length,
Field.Store store)
Create a stored field with binary value.
|
Field(java.lang.String name,
java.lang.String value,
Field.Store store,
Field.Index index)
Create a field by specifying its name, value and how it will
be saved in the index.
|
Field(java.lang.String name,
java.lang.String value,
Field.Store store,
Field.Index index,
Field.TermVector termVector)
Create a field by specifying its name, value and how it will
be saved in the index.
|
NumericField(java.lang.String name,
Field.Store store,
boolean index)
Creates a field for numeric values using the default
precisionStep
NumericUtils.PRECISION_STEP_DEFAULT (4). |
NumericField(java.lang.String name,
int precisionStep,
Field.Store store,
boolean index)
Creates a field for numeric values with the specified
precisionStep . |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.