This class wraps another ValueSource, but protects against accidental double RAM usage in FieldCache when a composite reader is passed to {@link #getValues}.

NOTE: this class adds a CPU penalty to every lookup, as it must resolve the incoming document to the right sub-reader using a binary search.

Namespace: Lucene.Net.Search.Function
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
[ObsoleteAttribute("This class is temporary, to ease the migration to segment-based searching. Please change your code to not pass composite readers to these APIs. ")]
public sealed class MultiValueSource : ValueSource
Visual Basic
<SerializableAttribute> _
<ObsoleteAttribute("This class is temporary, to ease the migration to segment-based searching. Please change your code to not pass composite readers to these APIs. ")> _
Public NotInheritable Class MultiValueSource _
	Inherits ValueSource
Visual C++
[SerializableAttribute]
[ObsoleteAttribute(L"This class is temporary, to ease the migration to segment-based searching. Please change your code to not pass composite readers to these APIs. ")]
public ref class MultiValueSource sealed : public ValueSource

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search.Function..::..ValueSource
    Lucene.Net.Search.Function..::..MultiValueSource

See Also