Show / Hide Table of Contents

    Enum Field.TermVector

    Specifies whether and how a field should have term vectors.

    Namespace: Lucene.Net.Documents
    Assembly: Lucene.Net.dll
    Syntax
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    public enum TermVector

    Fields

    Name Description
    NO

    Do not store term vectors.

    WITH_OFFSETS

    Store the term vector + Token offset information

    WITH_POSITIONS

    Store the term vector + token position information

    WITH_POSITIONS_OFFSETS

    Store the term vector + Token position and offset information

    YES

    Store the term vectors of each document. A term vector is a list of the document's terms and their number of occurrences in that document.

    Extension Methods

    FieldExtensions.IsStored()
    FieldExtensions.WithPositions()
    FieldExtensions.WithOffsets()
    Number.IsNumber()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)