Class Bindings
Binds variable names in expressions to actual data.
Inherited Members
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.Note
This API is experimental and might change in incompatible ways in the next release.
Constructors
Bindings()
Sole constructor.
Declaration
public Bindings()
Remarks
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Methods
GetScoreValueSource()
Returns a Lucene.Net.Queries.Function.ValueSource over relevance scores
Declaration
protected static ValueSource GetScoreValueSource()
Returns
Type | Description |
---|---|
ValueSource |
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.Note
This API is experimental and might change in incompatible ways in the next release.
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 |
---|---|---|
string | name |
Returns
Type | Description |
---|---|
ValueSource |
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.Note
This API is experimental and might change in incompatible ways in the next release.