Class DoubleConstValueSource
Function that returns a constant double value for every document.
Inheritance
System.Object
DoubleConstValueSource
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.Queries.dll
Syntax
public class DoubleConstValueSource : ConstNumberSource
Constructors
|
Improve this Doc
View Source
DoubleConstValueSource(Double)
Declaration
public DoubleConstValueSource(double constant)
Parameters
Type |
Name |
Description |
System.Double |
constant |
|
Properties
|
Improve this Doc
View Source
Bool
Declaration
public override bool Bool { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Double
Declaration
public override double Double { get; }
Property Value
Type |
Description |
System.Double |
|
Overrides
|
Improve this Doc
View Source
Int32
NOTE: This was getInt() in Lucene
Declaration
public override int Int32 { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Int64
NOTE: This was getLong() in Lucene
Declaration
public override long Int64 { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
Single
NOTE: This was getFloat() in Lucene
Declaration
public override float Single { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
Methods
|
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
|
Improve this Doc
View Source
GetDescription()
Declaration
public override string GetDescription()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetValues(IDictionary, AtomicReaderContext)
Declaration
public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
Parameters
Returns
Overrides