Interface IDistanceSubQuery
Interface for queries that can be nested as subqueries into a span near.
Namespace: Lucene.Net.QueryParsers.Surround.Query
Assembly: Lucene.Net.QueryParser.dll
Syntax
public interface IDistanceSubQuery
Methods
AddSpanQueries(SpanNearClauseFactory)
Interface for queries that can be nested as subqueries into a span near.
Declaration
void AddSpanQueries(SpanNearClauseFactory sncf)
Parameters
| Type | Name | Description |
|---|---|---|
| SpanNearClauseFactory | sncf |
DistanceSubQueryNotAllowed()
When DistanceSubQueryNotAllowed() returns non null, the reason why the subquery is not allowed as a distance subquery is returned.
When DistanceSubQueryNotAllowed() returns null AddSpanQueries(SpanNearClauseFactory) can be used in the creation of the span near clause for the subquery.Declaration
string DistanceSubQueryNotAllowed()
Returns
| Type | Description |
|---|---|
| string |