Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.lucene40 |
Lucene 4.0 file format.
|
org.apache.lucene.codecs.lucene40.values |
Default DocValues implementation for Lucene 4.0 indexes.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Method and Description |
---|---|
protected DocValues.Type |
PerDocProducerBase.getDocValuesType(FieldInfo info)
Returns the doc values type for this field.
|
protected DocValues.Type |
PerDocConsumer.getDocValuesType(FieldInfo info)
|
protected abstract DocValues.Type |
DocValuesConsumer.getType()
Returns the
DocValues.Type of this consumer. |
Modifier and Type | Method and Description |
---|---|
abstract DocValuesConsumer |
PerDocConsumer.addValuesField(DocValues.Type type,
FieldInfo field)
Adds a new DocValuesField
|
static DocValuesArraySource |
DocValuesArraySource.forType(DocValues.Type type)
Returns the
DocValuesArraySource for the given
DocValues.Type . |
protected abstract DocValues |
PerDocProducerBase.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context)
Loads a
DocValues instance depending on the given DocValues.Type . |
Modifier and Type | Method and Description |
---|---|
protected DocValues.Type |
Lucene40NormsFormat.Lucene40NormsDocValuesProducer.getDocValuesType(FieldInfo info) |
protected DocValues.Type |
Lucene40NormsFormat.Lucene40NormsDocValuesConsumer.getDocValuesType(FieldInfo info) |
Modifier and Type | Method and Description |
---|---|
byte |
Lucene40FieldInfosWriter.docValuesByte(DocValues.Type type)
Returns the byte used to encode the
DocValues.Type for each field. |
protected DocValues |
Lucene40DocValuesProducer.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
DocValuesWriterBase.addValuesField(DocValues.Type valueType,
FieldInfo field) |
static DocValues |
Ints.getValues(Directory dir,
String id,
int numDocs,
DocValues.Type type,
IOContext context)
Creates and returns a
DocValues to
read previously written int values. |
static DocValues |
Floats.getValues(Directory dir,
String id,
int maxDoc,
IOContext context,
DocValues.Type type)
Creates and returns a
DocValues to
read previously written float values. |
static DocValuesConsumer |
Ints.getWriter(Directory dir,
String id,
Counter bytesUsed,
DocValues.Type type,
IOContext context)
Creates and returns a
DocValuesConsumer to
write int values. |
static DocValuesConsumer |
Floats.getWriter(Directory dir,
String id,
Counter bytesUsed,
IOContext context,
DocValues.Type type)
Creates and returns a
DocValuesConsumer to
write float values. |
Modifier and Type | Method and Description |
---|---|
DocValues.Type |
FieldType.docValueType()
DocValues
DocValues.Type : if non-null then the field's value
will be indexed into docValues. |
Modifier and Type | Method and Description |
---|---|
void |
FieldType.setDocValueType(DocValues.Type type)
Set's the field's DocValues.Type
|
Modifier and Type | Field and Description |
---|---|
protected DocValues.Type |
DocValues.Source.type
DocValues.Type of this Source . |
Modifier and Type | Method and Description |
---|---|
DocValues.Type |
IndexableFieldType.docValueType()
DocValues
DocValues.Type : if non-null then the field's value
will be indexed into docValues. |
DocValues.Type |
FieldInfo.getDocValuesType()
Returns
DocValues.Type of the docValues. |
DocValues.Type |
FieldInfo.getNormType()
Returns
DocValues.Type of the norm. |
abstract DocValues.Type |
DocValues.getType()
Returns the
DocValues.Type of this DocValues instance |
DocValues.Type |
DocValues.Source.getType()
Returns the
DocValues.Type of this source. |
DocValues.Type |
Norm.type()
Returns the
DocValues.Type for this norm. |
static DocValues.Type |
DocValues.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocValues.Type[] |
DocValues.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static DocValues.SortedSource |
DocValues.getDefaultSortedSource(DocValues.Type type,
int size)
Returns a SortedSource that always returns default (missing)
values for all documents.
|
static DocValues.Source |
DocValues.getDefaultSource(DocValues.Type type)
Returns a Source that always returns default (missing)
values for all documents.
|
static SortedBytesMergeUtils.MergeContext |
SortedBytesMergeUtils.init(DocValues.Type type,
DocValues[] docValues,
Comparator<BytesRef> comp,
int mergeDocCount)
Creates the
SortedBytesMergeUtils.MergeContext necessary for merging
the ordinals. |
Constructor and Description |
---|
DocValues.SortedSource(DocValues.Type type,
Comparator<BytesRef> comparator)
Sole constructor.
|
DocValues.Source(DocValues.Type type)
Sole constructor.
|
FieldInfo(String name,
boolean indexed,
int number,
boolean storeTermVector,
boolean omitNorms,
boolean storePayloads,
FieldInfo.IndexOptions indexOptions,
DocValues.Type docValues,
DocValues.Type normsType,
Map<String,String> attributes)
Sole Constructor.
|
SortedBytesMergeUtils.MergeContext(Comparator<BytesRef> comp,
int mergeDocCount,
int size,
DocValues.Type type)
Sole constructor.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.