Class Bindings
Binds variable names in expressions to actual data.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Expressions
Assembly: Lucene.Net.Expressions.dll
Syntax
public abstract class Bindings
Remarks
Binds variable names in expressions to actual data.
These are typically DocValues fields/FieldCache, the document's relevance score, or other Lucene.Net.Queries.Function.ValueSources.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Constructors
| Improve this Doc View SourceBindings()
Sole constructor.
Declaration
public Bindings()
Remarks
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Methods
| Improve this Doc View SourceGetScoreValueSource()
Returns a Lucene.Net.Queries.Function.ValueSource over relevance scores
Declaration
protected static ValueSource GetScoreValueSource()
Returns
Type | Description |
---|---|
Lucene.Net.Queries.Function.ValueSource |
GetValueSource(String)
Returns a Lucene.Net.Queries.Function.ValueSource bound to the variable name.
Declaration
public abstract ValueSource GetValueSource(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
Lucene.Net.Queries.Function.ValueSource |