Uses of Class
org.apache.lucene.document.Field
Packages that use Field
Package
Description
Unicode collation support.
The logical representation of a
Document for indexing and searching.Code to maintain and access indices.
Support for document suggestion
Another highlighter implementation based on term vectors.
-
Uses of Field in org.apache.lucene.collation
Subclasses of Field in org.apache.lucene.collationModifier and TypeClassDescriptionfinal classIndexes collation keys as a single-valuedSortedDocValuesField.final classIndexes collation keys as a single-valuedSortedDocValuesField. -
Uses of Field in org.apache.lucene.document
Subclasses of Field in org.apache.lucene.documentModifier and TypeClassDescriptionclassAn indexed 128-bitBigIntegerfield.classField that stores a per-documentBytesRefvalue.final classAn indexed binary field for fast range filters.(package private) classclassSyntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double).final classAn indexeddoublefield for fast range filters.classAn indexed Double Range field.classDocValues field for DoubleRange.final classFieldthat can be used to store static scoring factors into documents.classSyntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float).final classAn indexedfloatfield for fast range filters.classAn indexed Float Range field.classDocValues field for FloatRange.final classAn indexedhalf-floatfield for fast range filters.classAn indexed 128-bitInetAddressfield.classAn indexed InetAddress Range Fieldfinal classAn indexedintfield for fast range filters.classAn indexed Integer Range field.classDocValues field for IntRange.classAn indexed 2-Dimension Bounding Box field for the Geospatial Lat/Lon Coordinate systemclassAn per-document location field.classAn indexed location field.final classAn indexedlongfield for fast range filters.classAn indexed Long Range field.classDocValues field for LongRange.classField that stores a per-documentlongvalue for scoring, sorting or value retrieval.static classpolygons are decomposed into tessellated triangles usingTessellatorthese triangles are encoded and inserted as separate indexed POINT fieldsclassField that stores a per-documentBytesRefvalue, indexed for sorting.classField that stores a per-documentlongvalues for scoring, sorting or value retrieval.classField that stores a set of per-documentBytesRefvalues, indexed for faceting,grouping,joining.classA field whose value is stored so thatIndexSearcher.doc(int)andIndexReader.document()will return the field and its value.final classA field that is indexed but not tokenized: the entire String value is indexed as a single token.final classA field that is indexed and tokenized, without term vectors.classAn per-document location field.classAn indexed XY position field.Methods in org.apache.lucene.document that return FieldModifier and TypeMethodDescriptionstatic Field[]LatLonShape.createIndexableFields(String fieldName, double lat, double lon) create indexable fields for point geometrystatic Field[]LatLonShape.createIndexableFields(String fieldName, Line line) create indexable fields for line geometrystatic Field[]LatLonShape.createIndexableFields(String fieldName, Polygon polygon) create indexable fields for polygon geometrystatic Field[]XYShape.createIndexableFields(String fieldName, float x, float y) create indexable fields for cartesian point geometrystatic Field[]XYShape.createIndexableFields(String fieldName, XYLine line) create indexable fields for cartesian line geometrystatic Field[]XYShape.createIndexableFields(String fieldName, XYPolygon polygon) create indexable fields for cartesian polygon geometry -
Uses of Field in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type FieldModifier and TypeMethodDescriptionprivate DocValuesUpdate[]IndexWriter.buildDocValuesUpdate(Term term, Field[] updates) longIndexWriter.softUpdateDocument(Term term, Iterable<? extends IndexableField> doc, Field... softDeletes) Expert: Updates a document by first updating the document(s) containingtermwith the given doc-values fields and then adding the new document.longIndexWriter.softUpdateDocuments(Term term, Iterable<? extends Iterable<? extends IndexableField>> docs, Field... softDeletes) Expert: Atomically updates documents matching the provided term with the given doc-values fields and adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.longIndexWriter.tryUpdateDocValue(IndexReader readerIn, int docID, Field... fields) Expert: attempts to update doc values by document ID, as long as the provided reader is a near-real-time reader (fromDirectoryReader.open(IndexWriter)).longIndexWriter.updateDocValues(Term term, Field... updates) Updates documents' DocValues fields to the given values. -
Uses of Field in org.apache.lucene.search.suggest.document
Subclasses of Field in org.apache.lucene.search.suggest.documentModifier and TypeClassDescriptionclassSuggestFieldwhich additionally takes in a set of contexts.classField that indexes a string value and a weight as a weighted completion against a named suggester. -
Uses of Field in org.apache.lucene.search.vectorhighlight
Methods in org.apache.lucene.search.vectorhighlight that return FieldModifier and TypeMethodDescriptionprotected Field[]BaseFragmentsBuilder.getFields(IndexReader reader, int docId, String fieldName) Methods in org.apache.lucene.search.vectorhighlight with parameters of type FieldModifier and TypeMethodDescriptionprotected List<FieldFragList.WeightedFragInfo> BaseFragmentsBuilder.discreteMultiValueHighlighting(List<FieldFragList.WeightedFragInfo> fragInfos, Field[] fields) protected StringBaseFragmentsBuilder.getFragmentSource(StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset) protected StringBaseFragmentsBuilder.getFragmentSourceMSO(StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset, int[] modifiedStartOffset) protected StringBaseFragmentsBuilder.makeFragment(StringBuilder buffer, int[] index, Field[] values, FieldFragList.WeightedFragInfo fragInfo, String[] preTags, String[] postTags, Encoder encoder)