Show / Hide Table of Contents

    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 Source

    AddSpanQueries(SpanNearClauseFactory)

    Declaration
    void AddSpanQueries(SpanNearClauseFactory sncf)
    Parameters
    Type Name Description
    SpanNearClauseFactory sncf
    | Improve this Doc View Source

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)