Uses of Class
org.apache.lucene.document.Field
-
-
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.classDoublePointAn indexeddoublefield for fast range filters.classDoubleRangeAn indexed Double Range field.classFloatPointAn indexedfloatfield for fast range filters.classFloatRangeAn indexed Float Range field.classHalfFloatPointAn indexedhalf-floatfield for fast range filters.classInetAddressPointAn indexed 128-bitInetAddressfield.classInetAddressRangeAn indexed InetAddress Range FieldclassIntPointAn indexedintfield for fast range filters.classIntRangeAn indexed Integer Range field.classLatLonDocValuesFieldAn per-document location field.classLatLonPointAn indexed location field.classLongPointAn indexedlongfield for fast range filters.classLongRangeAn indexed Long Range field.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.Methods in org.apache.lucene.document that return Field Modifier and Type Method Description static 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 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 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.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, String fieldName)Methods in org.apache.lucene.search.vectorhighlight with parameters of type Field Modifier and Type Method Description protected 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) -
Uses of Field in org.apache.lucene.spatial
Methods in org.apache.lucene.spatial that return Field Modifier and Type Method Description abstract Field[]SpatialStrategy. createIndexableFields(Shape shape)Returns the IndexableField(s) from theshapethat are to be added to theDocument. -
Uses of Field in org.apache.lucene.spatial.prefix
Methods in org.apache.lucene.spatial.prefix that return Field Modifier and Type Method Description Field[]PrefixTreeStrategy. createIndexableFields(Shape shape)Field[]PrefixTreeStrategy. createIndexableFields(Shape shape, double distErr)TurnsSpatialPrefixTree.getTreeCellIterator(Shape, int)into aTokenStream.Field[]PrefixTreeStrategy. createIndexableFields(Shape shape, int detailLevel) -
Uses of Field in org.elasticsearch.index.mapper
Fields in org.elasticsearch.index.mapper declared as Field Modifier and Type Field Description FieldSeqNoFieldMapper.SequenceIDFields. primaryTermFieldSeqNoFieldMapper.SequenceIDFields. seqNoFieldSeqNoFieldMapper.SequenceIDFields. seqNoDocValueFieldSeqNoFieldMapper.SequenceIDFields. tombstoneFieldMethods in org.elasticsearch.index.mapper that return Field Modifier and Type Method Description abstract FieldRangeType. getRangeField(String name, RangeFieldMapper.Range range)FieldParseContext.InternalParseContext. version()abstract FieldParseContext. version()FieldParsedDocument. version()Methods in org.elasticsearch.index.mapper that return types with arguments of type Field Modifier and Type Method Description abstract List<Field>NumberFieldMapper.NumberType. createFields(String name, Number value, boolean indexed, boolean docValued, boolean stored)Methods in org.elasticsearch.index.mapper with parameters of type Field Modifier and Type Method Description voidParseContext.InternalParseContext. version(Field version)abstract voidParseContext. version(Field version)Constructors in org.elasticsearch.index.mapper with parameters of type Field Constructor Description ParsedDocument(Field version, SeqNoFieldMapper.SequenceIDFields seqID, String id, String type, String routing, List<ParseContext.Document> documents, BytesReference source, XContentType xContentType, Mapping dynamicMappingsUpdate)SequenceIDFields(Field seqNo, Field seqNoDocValue, Field primaryTerm, Field tombstoneField) -
Uses of Field in org.elasticsearch.search.fetch.subphase.highlight
Fields in org.elasticsearch.search.fetch.subphase.highlight declared as Field Modifier and Type Field Description static Field[]SourceSimpleFragmentsBuilder. EMPTY_FIELDSMethods in org.elasticsearch.search.fetch.subphase.highlight that return Field Modifier and Type Method Description protected Field[]SourceScoreOrderFragmentsBuilder. getFields(IndexReader reader, int docId, String fieldName)protected Field[]SourceSimpleFragmentsBuilder. getFields(IndexReader reader, int docId, String fieldName)Methods in org.elasticsearch.search.fetch.subphase.highlight with parameters of type Field Modifier and Type Method Description static FieldFragList.WeightedFragInfoFragmentBuilderHelper. fixWeightedFragInfo(MappedFieldType fieldType, Field[] values, FieldFragList.WeightedFragInfo fragInfo)Fixes problems with broken analysis chains if positions and offsets are messed up that can lead toStringIndexOutOfBoundsExceptionin theFastVectorHighlighterprotected StringSimpleFragmentsBuilder. makeFragment(StringBuilder buffer, int[] index, Field[] values, FieldFragList.WeightedFragInfo fragInfo, String[] preTags, String[] postTags, Encoder encoder)protected StringSourceScoreOrderFragmentsBuilder. makeFragment(StringBuilder buffer, int[] index, Field[] values, FieldFragList.WeightedFragInfo fragInfo, String[] preTags, String[] postTags, Encoder encoder)
-