Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class VectorValueSource

    Converts individual ValueSource instances to leverage the FunctionValues *Val functions that work with multiple values, i.e. DoubleVal(Int32, Double[])

    Inheritance
    System.Object
    ValueSource
    MultiValueSource
    VectorValueSource
    Inherited Members
    ValueSource.ToString()
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class VectorValueSource : MultiValueSource

    Constructors

    | Improve this Doc View Source

    VectorValueSource(IList<ValueSource>)

    Declaration
    public VectorValueSource(IList<ValueSource> sources)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ValueSource> sources

    Fields

    | Improve this Doc View Source

    m_sources

    Declaration
    protected readonly IList<ValueSource> m_sources
    Field Value
    Type Description
    System.Collections.Generic.IList<ValueSource>

    Properties

    | Improve this Doc View Source

    Dimension

    Declaration
    public override int Dimension { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    MultiValueSource.Dimension
    | Improve this Doc View Source

    Name

    Declaration
    public virtual string Name { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Sources

    Declaration
    public virtual IList<ValueSource> Sources { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<ValueSource>

    Methods

    | Improve this Doc View Source

    CreateWeight(IDictionary, IndexSearcher)

    Declaration
    public override void CreateWeight(IDictionary context, IndexSearcher searcher)
    Parameters
    Type Name Description
    System.Collections.IDictionary context
    Lucene.Net.Search.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
    System.Collections.IDictionary context
    Lucene.Net.Index.AtomicReaderContext readerContext
    Returns
    Type Description
    FunctionValues
    Overrides
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    • 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.