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
| Improve this Doc View SourceAddSpanQueries(SpanNearClauseFactory)
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 | 
|---|---|
| System.String |