Fork me on GitHub
  • API

    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

    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
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.