Class Bindings
Binds variable names in expressions to actual data.
Namespace: Lucene.Net.Expressions
Assembly: Lucene.Net.Expressions.dll
Syntax
public abstract class Bindings : object
Remarks
Binds variable names in expressions to actual data.
These are typically DocValues fields/FieldCache, the document's relevance score, or other 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 ValueSource over relevance scores
Declaration
protected ValueSource GetScoreValueSource()
Returns
Type | Description |
---|---|
ValueSource |
GetValueSource(String)
Returns a ValueSource bound to the variable name.
Declaration
public abstract ValueSource GetValueSource(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
ValueSource |