Uses of Class
org.apache.lucene.document.Field
-
Packages that use Field Package Description org.apache.lucene.analysis.icu Analysis components based on ICUorg.apache.lucene.collation Unicode collation support.org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.sandbox.document This package contains several point types:BigIntegerPointfor 128-bit integersLatLonPointfor latitude/longitude geospatial pointsorg.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.search.vectorhighlight Another highlighter implementation based on term vectors.org.apache.lucene.spatial3d Lucene field & query support for the spatial geometry implemented inorg.apache.lucene.spatial3d.geom. -
-
Uses of Field in org.apache.lucene.analysis.icu
Subclasses of Field in org.apache.lucene.analysis.icu Modifier and Type Class Description classICUCollationDocValuesFieldIndexes collation keys as a single-valuedSortedDocValuesField. -
Uses of Field in org.apache.lucene.collation
Subclasses of Field in org.apache.lucene.collation Modifier and Type Class Description classCollationDocValuesFieldIndexes collation keys as a single-valuedSortedDocValuesField. -
Uses of Field in org.apache.lucene.document
Subclasses of Field in org.apache.lucene.document Modifier and Type Class Description classBinaryDocValuesFieldField that stores a per-documentBytesRefvalue.classBinaryPointAn indexed binary field for fast range filters.(package private) classBinaryRangeDocValuesFieldclassDoubleDocValuesFieldSyntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double).classDoublePointAn indexeddoublefield for fast range filters.classDoubleRangeAn indexed Double Range field.classDoubleRangeDocValuesFieldDocValues field for DoubleRange.classFeatureFieldFieldthat can be used to store static scoring factors into documents.classFloatDocValuesFieldSyntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float).classFloatPointAn indexedfloatfield for fast range filters.classFloatRangeAn indexed Float Range field.classFloatRangeDocValuesFieldDocValues field for FloatRange.classInetAddressPointAn indexed 128-bitInetAddressfield.classInetAddressRangeAn indexed InetAddress Range FieldclassIntPointAn indexedintfield for fast range filters.classIntRangeAn indexed Integer Range field.classIntRangeDocValuesFieldDocValues field for IntRange.classKnnVectorFieldA field that contains a single floating-point numeric vector (or none) for each document.classLatLonDocValuesFieldAn per-document location field.classLatLonPointAn indexed location field.classLongPointAn indexedlongfield for fast range filters.classLongRangeAn indexed Long Range field.classLongRangeDocValuesFieldDocValues field for LongRange.classNumericDocValuesFieldField that stores a per-documentlongvalue for scoring, sorting or value retrieval.static classShapeField.Trianglepolygons are decomposed into tessellated triangles usingTessellatorthese triangles are encoded and inserted as separate indexed POINT fieldsclassSortedDocValuesFieldField that stores a per-documentBytesRefvalue, indexed for sorting.classSortedNumericDocValuesFieldField that stores a per-documentlongvalues for scoring, sorting or value retrieval.classSortedSetDocValuesFieldField that stores a set of per-documentBytesRefvalues, indexed for faceting,grouping,joining.classStoredFieldA field whose value is stored so thatIndexSearcher.doc(int)andIndexReader.document()will return the field and its value.classStringFieldA field that is indexed but not tokenized: the entire String value is indexed as a single token.classTextFieldA field that is indexed and tokenized, without term vectors.classXYDocValuesFieldAn per-document location field.classXYPointFieldAn indexed XY position field.Methods in org.apache.lucene.document that return Field Modifier and Type Method Description static Field[]LatLonShape. createIndexableFields(java.lang.String fieldName, double lat, double lon)create indexable fields for point geometrystatic Field[]LatLonShape. createIndexableFields(java.lang.String fieldName, Line line)create indexable fields for line geometrystatic Field[]LatLonShape. createIndexableFields(java.lang.String fieldName, Polygon polygon)create indexable fields for polygon geometry.static Field[]LatLonShape. createIndexableFields(java.lang.String fieldName, Polygon polygon, boolean checkSelfIntersections)create indexable fields for polygon geometry.static Field[]XYShape. createIndexableFields(java.lang.String fieldName, float x, float y)create indexable fields for cartesian point geometrystatic Field[]XYShape. createIndexableFields(java.lang.String fieldName, XYLine line)create indexable fields for cartesian line geometrystatic Field[]XYShape. createIndexableFields(java.lang.String fieldName, XYPolygon polygon)create indexable fields for cartesian polygon geometrystatic Field[]XYShape. createIndexableFields(java.lang.String fieldName, XYPolygon polygon, boolean checkSelfIntersections)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 Field Modifier and Type Method Description private DocValuesUpdate[]IndexWriter. buildDocValuesUpdate(Term term, Field[] updates)longIndexWriter. softUpdateDocument(Term term, java.lang.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, java.lang.Iterable<? extends java.lang.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.sandbox.document
Subclasses of Field in org.apache.lucene.sandbox.document Modifier and Type Class Description classBigIntegerPointAn indexed 128-bitBigIntegerfield.classHalfFloatPointAn indexedhalf-floatfield for fast range filters.classLatLonBoundingBoxAn indexed 2-Dimension Bounding Box field for the Geospatial Lat/Lon Coordinate system -
Uses of Field in org.apache.lucene.search.suggest.document
Subclasses of Field in org.apache.lucene.search.suggest.document Modifier and Type Class Description classContextSuggestFieldSuggestFieldwhich additionally takes in a set of contexts.classSuggestFieldField 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 Field Modifier and Type Method Description protected Field[]BaseFragmentsBuilder. getFields(IndexReader reader, int docId, java.lang.String fieldName)Methods in org.apache.lucene.search.vectorhighlight with parameters of type Field Modifier and Type Method Description protected java.util.List<FieldFragList.WeightedFragInfo>BaseFragmentsBuilder. discreteMultiValueHighlighting(java.util.List<FieldFragList.WeightedFragInfo> fragInfos, Field[] fields)protected java.lang.StringBaseFragmentsBuilder. getFragmentSource(java.lang.StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset)protected java.lang.StringBaseFragmentsBuilder. getFragmentSourceMSO(java.lang.StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset, int[] modifiedStartOffset)protected java.lang.StringBaseFragmentsBuilder. makeFragment(java.lang.StringBuilder buffer, int[] index, Field[] values, FieldFragList.WeightedFragInfo fragInfo, java.lang.String[] preTags, java.lang.String[] postTags, Encoder encoder) -
Uses of Field in org.apache.lucene.spatial3d
Subclasses of Field in org.apache.lucene.spatial3d Modifier and Type Class Description classGeo3DDocValuesFieldAn per-document 3D location field.classGeo3DPointAdd this to a document to index lat/lon or x/y/z point, indexed as a 3D point.
-