Class FieldCacheSource
A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.
Inheritance
Inherited Members
Namespace: Lucene.Net.Queries.Function.ValueSources
Assembly: Lucene.Net.Queries.dll
Syntax
public abstract class FieldCacheSource : ValueSource
Constructors
FieldCacheSource(string)
A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.
Declaration
protected FieldCacheSource(string field)
Parameters
Type | Name | Description |
---|---|---|
string | field |
Fields
m_cache
A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.
Declaration
protected readonly IFieldCache m_cache
Field Value
Type | Description |
---|---|
IFieldCache |
m_field
A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.
Declaration
protected readonly string m_field
Field Value
Type | Description |
---|---|
string |
Properties
Field
A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.
Declaration
public virtual string Field { get; }
Property Value
Type | Description |
---|---|
string |
FieldCache
A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.
Declaration
public virtual IFieldCache FieldCache { get; }
Property Value
Type | Description |
---|---|
IFieldCache |
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetDescription()
description of field, used in Explain()
Declaration
public override string GetDescription()
Returns
Type | Description |
---|---|
string |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |