Fork me on GitHub
  • API

    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()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.