Show / Hide Table of Contents

    Class DocFreqValueSource

    DocFreqValueSource returns the number of documents containing the term.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    ValueSource
    DocFreqValueSource
    IDFValueSource
    TermFreqValueSource
    Inherited Members
    ValueSource.ToString()
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class DocFreqValueSource : ValueSource

    Constructors

    | Improve this Doc View Source

    DocFreqValueSource(String, String, String, BytesRef)

    Declaration
    public DocFreqValueSource(string field, string val, string indexedField, BytesRef indexedBytes)
    Parameters
    Type Name Description
    System.String field
    System.String val
    System.String indexedField
    BytesRef indexedBytes

    Fields

    | Improve this Doc View Source

    m_field

    Declaration
    protected readonly string m_field
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    m_indexedBytes

    Declaration
    protected readonly BytesRef m_indexedBytes
    Field Value
    Type Description
    BytesRef
    | Improve this Doc View Source

    m_indexedField

    Declaration
    protected readonly string m_indexedField
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    m_val

    Declaration
    protected readonly string m_val
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    public virtual string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    CreateWeight(IDictionary, IndexSearcher)

    Declaration
    public override void CreateWeight(IDictionary context, IndexSearcher searcher)
    Parameters
    Type Name Description
    IDictionary context
    IndexSearcher searcher
    Overrides
    ValueSource.CreateWeight(IDictionary, IndexSearcher)
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    Overrides
    ValueSource.Equals(Object)
    | Improve this Doc View Source

    GetDescription()

    Declaration
    public override string GetDescription()
    Returns
    Type Description
    System.String
    Overrides
    ValueSource.GetDescription()
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    ValueSource.GetHashCode()
    | Improve this Doc View Source

    GetValues(IDictionary, AtomicReaderContext)

    Declaration
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
    Parameters
    Type Name Description
    IDictionary context
    AtomicReaderContext readerContext
    Returns
    Type Description
    FunctionValues
    Overrides
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)