• API

    Show / Hide Table of Contents

    Class FieldExtensions

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

    Inheritance
    System.Object
    FieldExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Documents
    Assembly: Lucene.Net.dll
    Syntax
    public static class FieldExtensions

    Methods

    | Improve this Doc View Source

    IsAnalyzed(Field.Index)

    Declaration
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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
    [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
    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)