Uses of Interface
org.apache.lucene.index.IndexableField
Packages that use IndexableField
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
Lucene 4.0 file format.
The logical representation of a
Document
for indexing and searching.Code to maintain and access indices.
-
Uses of IndexableField in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type IndexableFieldModifier and TypeMethodDescriptionabstract void
StoredFieldsWriter.writeField
(FieldInfo info, IndexableField field) Writes a single stored field.Method parameters in org.apache.lucene.codecs with type arguments of type IndexableFieldModifier and TypeMethodDescriptionprotected final void
StoredFieldsWriter.addDocument
(Iterable<? extends IndexableField> doc, FieldInfos fieldInfos) sugar method for startDocument() + writeField() for every stored field in the document -
Uses of IndexableField in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type IndexableFieldModifier and TypeMethodDescriptionvoid
CompressingStoredFieldsWriter.writeField
(FieldInfo info, IndexableField field) -
Uses of IndexableField in org.apache.lucene.codecs.lucene40
Methods in org.apache.lucene.codecs.lucene40 with parameters of type IndexableFieldModifier and TypeMethodDescriptionvoid
Lucene40StoredFieldsWriter.writeField
(FieldInfo info, IndexableField field) -
Uses of IndexableField in org.apache.lucene.document
Classes in org.apache.lucene.document that implement IndexableFieldModifier and TypeClassDescriptionclass
Field that stores a per-documentBytesRef
value.class
Deprecated.class
Deprecated.UseBinaryDocValuesField
instead.class
Syntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double)
.final class
Field that indexesdouble
values for efficient range filtering and sorting.class
Expert: directly create a field for a document.class
Syntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float)
.final class
Field that indexesfloat
values for efficient range filtering and sorting.class
Deprecated.useNumericDocValuesField
instead.final class
Field that indexesint
values for efficient range filtering and sorting.class
Deprecated.useNumericDocValuesField
instead.final class
Field that indexeslong
values for efficient range filtering and sorting.class
Field that stores a per-documentlong
value for scoring, sorting or value retrieval.class
Deprecated.useNumericDocValuesField
instead.class
Deprecated.useNumericDocValuesField
instead.class
Deprecated.UseSortedDocValuesField
instead.class
Field that stores a per-documentBytesRef
value, indexed for sorting.class
Field that stores a set of per-documentBytesRef
values, indexed for faceting,grouping,joining.final class
A field whose value is stored so thatIndexSearcher.doc(int)
andIndexReader.document(int, org.apache.lucene.index.StoredFieldVisitor)
will return the field and its value.class
Deprecated.UseBinaryDocValuesField
instead.final class
A field that is indexed but not tokenized: the entire String value is indexed as a single token.final class
A field that is indexed and tokenized, without term vectors.Methods in org.apache.lucene.document that return IndexableFieldModifier and TypeMethodDescriptionfinal IndexableField
Returns a field with the given name if any exist in this document, or null.Returns an array ofIndexableField
s with the given name.Methods in org.apache.lucene.document that return types with arguments of type IndexableFieldModifier and TypeMethodDescriptionfinal List<IndexableField>
Document.getFields()
Returns a List of all the fields in a document.Document.iterator()
Methods in org.apache.lucene.document with parameters of type IndexableFieldModifier and TypeMethodDescriptionfinal void
Document.add
(IndexableField field) Adds a field to a document. -
Uses of IndexableField in org.apache.lucene.index
Method parameters in org.apache.lucene.index with type arguments of type IndexableFieldModifier and TypeMethodDescriptionvoid
IndexWriter.addDocument
(Iterable<? extends IndexableField> doc) Adds a document to this index.void
IndexWriter.addDocument
(Iterable<? extends IndexableField> doc, Analyzer analyzer) Adds a document to this index, using the provided analyzer instead of the value ofIndexWriter.getAnalyzer()
.long
TrackingIndexWriter.addDocument
(Iterable<? extends IndexableField> d) CallsIndexWriter.addDocument(Iterable)
and returns the generation that reflects this change.long
TrackingIndexWriter.addDocument
(Iterable<? extends IndexableField> d, Analyzer a) CallsIndexWriter.addDocument(Iterable,Analyzer)
and returns the generation that reflects this change.void
IndexWriter.addDocuments
(Iterable<? extends Iterable<? extends IndexableField>> docs) Atomically adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.void
IndexWriter.addDocuments
(Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer analyzer) Atomically adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.long
TrackingIndexWriter.addDocuments
(Iterable<? extends Iterable<? extends IndexableField>> docs) CallsIndexWriter.addDocuments(Iterable)
and returns the generation that reflects this change.long
TrackingIndexWriter.addDocuments
(Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a) CallsIndexWriter.addDocuments(Iterable,Analyzer)
and returns the generation that reflects this change.void
IndexWriter.updateDocument
(Term term, Iterable<? extends IndexableField> doc) Updates a document by first deleting the document(s) containingterm
and then adding the new document.void
IndexWriter.updateDocument
(Term term, Iterable<? extends IndexableField> doc, Analyzer analyzer) Updates a document by first deleting the document(s) containingterm
and then adding the new document.long
TrackingIndexWriter.updateDocument
(Term t, Iterable<? extends IndexableField> d) CallsIndexWriter.updateDocument(Term,Iterable)
and returns the generation that reflects this change.long
TrackingIndexWriter.updateDocument
(Term t, Iterable<? extends IndexableField> d, Analyzer a) CallsIndexWriter.updateDocument(Term,Iterable,Analyzer)
and returns the generation that reflects this change.void
IndexWriter.updateDocuments
(Term delTerm, Iterable<? extends Iterable<? extends IndexableField>> docs) Atomically deletes documents matching the provided delTerm and adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.void
IndexWriter.updateDocuments
(Term delTerm, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer analyzer) Atomically deletes documents matching the provided delTerm and adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.long
TrackingIndexWriter.updateDocuments
(Term t, Iterable<? extends Iterable<? extends IndexableField>> docs) CallsIndexWriter.updateDocuments(Term,Iterable)
and returns the generation that reflects this change.long
TrackingIndexWriter.updateDocuments
(Term t, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a) CallsIndexWriter.updateDocuments(Term,Iterable,Analyzer)
and returns the generation that reflects this change.
NumericDocValuesField
instead.