Show / Hide Table of Contents

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

    Necessary interfaces to implement text parsers.

    Parser

    The package org.apache.lucene.queryparser.flexible.parser contains interfaces that should be implemented by the parsers. Parsers produce QueryNode Trees from a string object. These 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 © 2020 Licensed to the Apache Software Foundation (ASF)