Show / Hide Table of Contents

    Class FieldExtensions

    LUCENENET specific extension methods to add functionality to enumerations that mimic Lucene

    Inheritance
    System.Object
    FieldExtensions
    Namespace: Lucene.Net.Documents
    Assembly: Lucene.Net.dll
    Syntax
    public static class FieldExtensions : object

    Methods

    | Improve this Doc View Source

    IsAnalyzed(Field.Index)

    Declaration
    public static bool IsAnalyzed(this Field.Index index)
    Parameters
    Type Name Description
    Field.Index index
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsIndexed(Field.Index)

    Declaration
    public static bool IsIndexed(this Field.Index index)
    Parameters
    Type Name Description
    Field.Index index
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsStored(Field.Store)

    Declaration
    public static bool IsStored(this Field.Store store)
    Parameters
    Type Name Description
    Field.Store store
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsStored(Field.TermVector)

    Declaration
    public static bool IsStored(this Field.TermVector tv)
    Parameters
    Type Name Description
    Field.TermVector tv
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    OmitNorms(Field.Index)

    Declaration
    public static bool OmitNorms(this Field.Index index)
    Parameters
    Type Name Description
    Field.Index index
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ToIndex(Boolean, Boolean)

    Declaration
    public static Field.Index ToIndex(bool indexed, bool analyed)
    Parameters
    Type Name Description
    System.Boolean indexed
    System.Boolean analyed
    Returns
    Type Description
    Field.Index
    | Improve this Doc View Source

    ToIndex(Boolean, Boolean, Boolean)

    Declaration
    public static Field.Index ToIndex(bool indexed, bool analyzed, bool omitNorms)
    Parameters
    Type Name Description
    System.Boolean indexed
    System.Boolean analyzed
    System.Boolean omitNorms
    Returns
    Type Description
    Field.Index
    | Improve this Doc View Source

    ToTermVector(Boolean, Boolean, Boolean)

    Get the best representation of a TermVector given the flags.

    Declaration
    public static Field.TermVector ToTermVector(bool stored, bool withOffsets, bool withPositions)
    Parameters
    Type Name Description
    System.Boolean stored
    System.Boolean withOffsets
    System.Boolean withPositions
    Returns
    Type Description
    Field.TermVector
    | Improve this Doc View Source

    WithOffsets(Field.TermVector)

    Declaration
    public static bool WithOffsets(this Field.TermVector tv)
    Parameters
    Type Name Description
    Field.TermVector tv
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    WithPositions(Field.TermVector)

    Declaration
    public static bool WithPositions(this Field.TermVector tv)
    Parameters
    Type Name Description
    Field.TermVector tv
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)