Show / Hide Table of Contents

    Namespace Lucene.Net.QueryParsers.Xml

    Parser that produces Lucene Query objects from XML streams.

    Classes

    CoreParser

    Assembles a IQueryBuilder which uses only core Lucene Query objects

    CorePlusExtensionsParser

    Assembles a which uses objects from Lucene's sandbox and queries modules in addition to core queries.

    DOMUtils

    Helper methods for parsing XML

    FilterBuilderFactory

    Factory for IFilterBuilder

    ParserException

    Thrown when the xml queryparser encounters invalid syntax/configuration.

    QueryBuilderFactory

    Factory for IQueryBuilder

    QueryTemplateManager

    Provides utilities for turning query form input (such as from a web page or Swing gui) into Lucene XML queries by using XSL templates. This approach offers a convenient way of externalizing and changing how user input is turned into Lucene queries. Database applications often adopt similar practices by externalizing SQL in template files that can be easily changed/optimized by a DBA. The static methods can be used on their own or by creating an instance of this class you can store and re-use compiled stylesheets for fast use (e.g. in a server environment)

    LUCENENET (.NET Core): This is not compiled this because .NET Standard does not currently support XSL Transform.

    Interfaces

    IFilterBuilder

    Interface for building s

    IQueryBuilder

    Implemented by objects that produce Lucene Query objects from XML streams. Implementations are expected to be thread-safe so that they can be used to simultaneously parse multiple XML documents.

    • Improve this Doc
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)