Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Namespace Lucene.Net.QueryParsers.Flexible.Core.Parser

    Necessary interfaces to implement text parsers.

    Parser

    The namespace Lucene.Net.QueryParsers.Flexible.Core.Parser contains interfaces that should be implemented by the parsers. Parsers produce IQueryNode Trees from a string object. This package still needs some work to add support to for multiple parsers. Features that should be supported for the future, related with the parser:

    • QueryNode tree should be able convertible to any parser syntax.
    • The query syntax should support calling other parsers. - QueryNode tree created by multiple parsers.

    Interfaces

    IEscapeQuerySyntax

    A parser needs to implement IEscapeQuerySyntax to allow the IQueryNode to escape the queries, when the ToQueryString method is called.

    ISyntaxParser

    A parser needs to implement ISyntaxParser interface

    Enums

    EscapeQuerySyntaxType

    Type of escaping: String for escaping syntax, NORMAL for escaping reserved words (like AND) in terms

    • Improve this Doc
    Back to top Copyright © 2021 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.