| 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.codecs.sep |
Sep: base support for separate files (doc,frq,pos,skp,pyl)
|
| org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
| 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 |
PerDocConsumer.getDocValuesType(FieldInfo info)
|
protected DocValues.Type |
PerDocProducerBase.getDocValuesType(FieldInfo info) |
protected abstract DocValues.Type |
DocValuesConsumer.getType() |
| 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) |
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 |
|---|---|
DocValues.Type |
Lucene40FieldInfosReader.getDocValuesType(byte b) |
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) |
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) |
static DocValues |
Floats.getValues(Directory dir,
String id,
int maxDoc,
IOContext context,
DocValues.Type type) |
static DocValuesConsumer |
Ints.getWriter(Directory dir,
String id,
Counter bytesUsed,
DocValues.Type type,
IOContext context) |
static DocValuesConsumer |
Floats.getWriter(Directory dir,
String id,
Counter bytesUsed,
IOContext context,
DocValues.Type type) |
| Modifier and Type | Method and Description |
|---|---|
protected DocValues |
SepDocValuesProducer.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context) |
| Modifier and Type | Field and Description |
|---|---|
protected DocValues.Type |
SimpleTextDocValuesConsumer.type |
| Modifier and Type | Method and Description |
|---|---|
DocValues.Type |
SimpleTextFieldInfosReader.docValuesType(String dvType) |
protected DocValues.Type |
SimpleTextNormsFormat.SimpleTextNormsPerDocProducer.getDocValuesType(FieldInfo info) |
protected DocValues.Type |
SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer.getDocValuesType(FieldInfo info) |
protected DocValues.Type |
SimpleTextDocValuesConsumer.getType() |
| Modifier and Type | Method and Description |
|---|---|
protected DocValues |
SimpleTextPerDocProducer.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context) |
| Constructor and Description |
|---|
SimpleTextDocValuesConsumer(String segment,
Directory dir,
IOContext ctx,
DocValues.Type type,
String segmentSuffix) |
| Modifier and Type | Method and Description |
|---|---|
DocValues.Type |
FieldType.docValueType() |
| Modifier and Type | Method and Description |
|---|---|
void |
FieldType.setDocValueType(DocValues.Type type) |
| Modifier and Type | Field and Description |
|---|---|
protected DocValues.Type |
DocValues.Source.type |
| Modifier and Type | Method and Description |
|---|---|
DocValues.Type |
IndexableFieldType.docValueType()
DocValues type; if non-null then the field's value
will be indexed into docValues
|
DocValues.Type |
FieldInfo.getDocValuesType() |
DocValues.Type |
FieldInfo.getNormType() |
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 |
MultiDocValues.getType() |
DocValues.Type |
MultiDocValues.EmptyDocValues.getType() |
DocValues.Type |
MultiDocValues.EmptyFixedDocValues.getType() |
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) |
| Constructor and Description |
|---|
DocValues.SortedSource(DocValues.Type type,
Comparator<BytesRef> comparator) |
DocValues.Source(DocValues.Type type) |
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) |
MultiDocValues.EmptyDocValues(int maxDoc,
DocValues.Type type) |
MultiDocValues.EmptyFixedDocValues(int maxDoc,
DocValues.Type type,
int valueSize) |
SortedBytesMergeUtils.MergeContext(Comparator<BytesRef> comp,
int mergeDocCount,
int size,
DocValues.Type type) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.